1.element
element是基于vue的一套ui框架,封装了原有的html标签用法,更加易用美观。
引入:
import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
Vue.use(ElementUI);
new Vue({
el: '#app',
render: h => h(App)
});
Container 布局容器
用于布局的容器组件,方便快速搭建页面的基本结构:
2.SCSS
css扩展语言,在csss中引入了变量并且用$表示。