App.vue Doctor ❗ Incorrect Target Target version mismatch. You can specify the target version in vueCompilerOptions.target in tsconfig.json / jsconfig.json. (Expected "target": 2.7) vue version: 2.7.14 tsconfig target: 3 (default) vue: /Users/shenglei/Downloads/🌏/vuet9/node_modules/vue/package.json tsconfig: file:///Users/shenglei/Downloads/%F0%9F%8C%8F/vuet9/jsconfig.json vueCompilerOptions:
时间: 2023-07-31 11:07:33 浏览: 115
vue-cli中config目录下的index.js文件详解
It seems that there is a version mismatch between the target version specified in the tsconfig.json/jsconfig.json and the expected target version in the vueCompilerOptions.target. The error message suggests that the expected target version is 2.7, while the tsconfig target is set to 3 (default).
To fix this issue, you can specify the target version in the vueCompilerOptions.target in tsconfig.json/jsconfig.json to match the expected target version. For example, you can set the target version to 2.7 in the tsconfig.json/jsconfig.json file by adding the following line:
```
"compilerOptions": {
"target": "es2016"
},
```
Make sure to replace "es2016" with the appropriate target version for your project.
Once you have made this change, try running the application again to see if the issue has been resolved.
阅读全文