启动项目 missing script: dev
不再是 npm run dev 是 npm run serve 因为再package.json下找不到dev了
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
在vue.config.js: "baseUrl" is not allowed
使用publicPath 代替baseUrl
网友评论