Loading... 直接运行这段命令: vue init webpack fw cd //查找 其他模块安装下期在说明 在安装的时候总有人会遇到各种各样的问题(说的就是我自己,哈哈哈) 如果在安装时候遇到问题,请按照下面来 打开cmd pushd 进入你的文件夹 然后运行 vue init webpack fw 淘宝镜像:cnpm i 补充: 安装完vue项目之后,会报错: WARNING Compiled with 1 warnings 13:50:51 ✘ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed src\App.vue:3:1 ^ ✘ 1 problem (1 error, 0 warnings) Errors: 1 http://eslint.org/docs/rules/no-trailing-spaces You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ to ignore all warnings in a file. 解决方法: 打开build/webpack.base.conf.js 注释第43行代码 Last modification:April 24, 2020 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 0 如果觉得我的文章对你有用,请随意赞赏
One comment
大佬勿喷