(安装过 node.js 和淘宝镜像 cnpm 后)
1、cnpm install vue-cli -g
2、vue list
3、vue init webpack 项目名称
完成:
4、cd 文件夹名
5、cnpm install
6、npm run dev
"plugins": [ "transform-vue-jsx", "transform-runtime", [ "component", { "libraryName": "element-ui", "styleLibraryName": "theme-chalk" } ] ]
来源:CSDN
作者:Zoey_J
链接:https://blog.csdn.net/Zoey_J/article/details/103239068