Error details:
error Component name “School” should always be multi-word vue/multi-word-component-names
Cause: when checking the syntax, the non-standard naming is regarded as a syntax error.
Solution: turn off syntax checking
Add the following codes in vue.config.js:
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave:false /*Turn off syntax checking*/
})
Read More:
- [Solved] 1:1 error Component name “Header“ should always be multi-word vue/multi-word
- 9:13 error Component name “home“ should always be multi-word vue/multi-word-component-names
- [Solved] error Component name “xxx“ should always be multi-word vue/multi-word-comp
- [Solved] Vue eslint Error: Component name “*****“ should always be multi-word
- [Solved] Component name “login“ should always be multi-word.
- [Solved] ESlint Create New File Error: Component name “Home” should always be multi-word.
- Vue warn]: vue3 element Component emit Pass Event Error
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- Vue3.0 error: Failed to resolve component el-form-item (el element to be unable to be displayed)
- Vue Error: component has been registered but not used [Two Methods to Solve]
- [Solved] Vue3 Error: Failed to resolve component:xxx
- [Solved] Vue3.2 component computed Error: Write operation failed: computed value is readonly
- Vue element component V-for error [How to Modify)
- [Solved] vue-roter 4 Error: Error: Invalid route component/Uncaught (in promise) Error: Invalid route component
- [Solved] el-date-picker Error: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders.
- Parsing error: await is a reserved word [How to Solve]
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- [Solved] Vue-vscode Error: Parsing error: Unexpected reserved word ‘await‘.
- Full screen scrolling by Vue + Vue awesomeswiper
- [Solved] component import error is declared in the statement of components