1. Find the vue.config.js file, copy the code into the file and recompile (it may not be useful)
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave: false
})
2. Use Camel-Case method to name file (valid for personal test)
Example: myLogin.vue
Read More:
- [Solved] 1:1 error Component name “Header“ should always be multi-word vue/multi-word
- [Solved] vue error: error Component name “School“ should always be multi-word vue/multi-word-component-names
- 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] ESlint Create New File Error: Component name “Home” should always be multi-word.
- Vue3.0 error: Failed to resolve component el-form-item (el element to be unable to be displayed)
- [Solved] el-date-picker Error: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders.
- [Solved] vue-roter 4 Error: Error: Invalid route component/Uncaught (in promise) Error: Invalid route component
- Parsing error: await is a reserved word [How to Solve]
- [Solved] Angular basic create component error: Is it missing an @NgModule annotation
- Vue Error: component has been registered but not used [Two Methods to Solve]
- [Solved] Vue-vscode Error: Parsing error: Unexpected reserved word ‘await‘.
- Vue warn]: vue3 element Component emit Pass Event Error
- Uni-app Error when assigning a value to a component: [system] TypeError: Cannot read property ‘name‘ of undefined
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- [Solved] Vue3.2 component computed Error: Write operation failed: computed value is readonly
- [Solved] component import error is declared in the statement of components
- [Solved] MSBUILD : error MSB3428: Could not load the Visual C++ component “VCBuild.exe“
- [Solved] Vue3 Error: Failed to resolve component:xxx