今天重新拉代码后,vue3启动报错。
来源:3-7 vue3 - ref 的妙用
他门说这就是人生
2020-11-16
报错如下图:
这是vue脚手架还存在bug吗?怎样解决呢?谢谢。
贴出的package.json(2020-11-17):
{ "name": "vue3-health-bigdata-large-screen-demo", "version": "0.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint" }, "dependencies": { "@antv/l7": "^2.2.41", "@antv/l7-district": "^2.2.43", "@antv/l7-maps": "^2.2.41", "vue": "^3.0.0", "vue-class-component": "^8.0.0-0", "vue-router": "^4.0.0-0", "vuex": "^4.0.0-0" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^2.33.0", "@typescript-eslint/parser": "^2.33.0", "@vue/cli-plugin-eslint": "~4.5.0", "@vue/cli-plugin-router": "~4.5.0", "@vue/cli-plugin-typescript": "~4.5.0", "@vue/cli-plugin-vuex": "~4.5.0", "@vue/cli-service": "~4.5.0", "@vue/compiler-sfc": "^3.0.0", "@vue/eslint-config-standard": "^5.1.2", "@vue/eslint-config-typescript": "^5.0.2", "eslint": "^6.7.2", "eslint-plugin-import": "^2.20.2", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.0", "eslint-plugin-vue": "^7.0.0-0", "node-sass": "^4.12.0", "sass-loader": "^8.0.2", "typescript": "~3.9.3" } }
写回答
1回答
-
同学你好 你这是之前自己使用 vue-cli 创建的项目嘛?能否看一下你的依赖呢?
032020-11-18
相似问题