The plug-in supported by vue3 should be volar. There was an old vue2 project plug-in vetur before, so an error will be reported
solution: create a new .vscode
in the project and create a new file settings.json
, which reads as follows:
{
"vetur.validation.template": false,
"vetur.validation.script": false,
"vetur.validation.style": false,
}
Finally, restart vscode to solve the problem
Read More:
- VScode vue Project Error: Property ‘xxx‘ does not exist on type ‘CombinedVueInstance<{ readyOnly…Vetur(2339)
- Vscode save Vue format eslint check error [How to Solve]
- [Solved] VS Code Error: Vetur can‘t find ‘tsconfig.json‘ or ‘jsconfig.json‘
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- How to Solve Vscode save Vue file eslint error
- [Solved] Vue Project Error: error ‘v-model‘ directives require no argument vue/valid-v-model
- [Solved] Vue Project startup error: no eslint configuration found
- [Solved] Error spawn CMD enoent errno when starting Vue project: – 4058
- The vue3 project Error: Cannot find module’vue-loader-v16/package.json’
- Vue scaffold creation project and run error [Solved]
- [Solved] Vue Project Error: Arrow function should not return assignment
- [Solved] Vue Less error: Webpack project report expected indentation of 0 spaces but found 2
- [Solved] Vue Start Project Error: ValidationError: webpack Dev Server Invalid Options
- The solution to the problem that the custom styles of UI components such as element-ui in the vue project do not take effect
- [Solved] Vue Project Error: “TypeError: Cannot read properties of undefined (reading ‘init‘)“
- How to Solve Vue project Startup Error (Node Upgrade issue)
- [Solved] Vue Project Startup Error: getaddrinfo ENOTFOUND xxx
- [Solved] Vue Project Error: This relative module was not found
- [Solved] Vue project configurate test environment and package error
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution