查了下说 进入项目输入 npm run dev 启动了就好了 但是它报这个错!还是显示不了!!
求各位大佬帮忙看哈!
https://blog.csdn.net/u014202165/article/details/87982518
vue-cli项目的话,应该是npm run serve
可以看看自己项目package.json
文件,应该会有scripts
属性:
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
npm run build
是打包npm run lint
是eslint检验代码规范的