项目先跑起来之坑

  • 前端之坑
// package.json
"scripts": {
    "serve": "vue-cli-service serve", # 修改成这样
     ......
  },
  
  "dependencies": {
    ......
    "vue": "^2.7.16", # 这两个版本比较保持一致
    ......
  },
  "devDependencies": {
   ......
    "vue-template-compiler": "^2.7.16" # 删除node_modules,再重新 npm i
  },