css - 使用eleme UI

访问量: 70

参考: https://element.eleme.io/#/en-US/component/installation

安装: 

package.json

+ "element-ui": "^2.12.0",

向main.js中添加: 

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI)

App.vue中:

 <template>
   <div id="app">
    <el-container>
      <router-view/>
    </el-container>
   </div>
 </template>

订阅/RSS Feed

Subscribe

分类/category