赞
踩
在外部命令中输入npm i element-ui -S
在main.js中输入如下内容
- import ElementUI from 'element-ui';
- import 'element-ui/lib/theme-chalk/index.css';
- Vue.use(ElementUI);
- new Vue({
- render: h => h(App),
- }).$mount('#app');
在ElementUI网站中找到自己喜欢的样式粘贴进自己的代码即可
在外部命令中输入npm run serve
或者通过如下方法运行
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。