0
点赞
收藏
分享

微信扫一扫

Github 2024-06-27开源项目日报Top10

ITWYY 2024-07-01 阅读 35

安装 ElementUI

在外部命令输入 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');

右键打开指令或者打开外部命令后,在指令栏输入npm run serve ,等待即可

出现两个网址,表明配置成功

举报

相关推荐

0 条评论