After looking for a long time, I found that the online solutions didn’t work very well. I tried for two days and finally solved the bug. This solution is only for vue3. After all, vue2, I didn’t encounter this bug. I don’t know whether it works or not
prerequisite
Confirm that the eslint plugin Vue dependency is installed
Reference address
Vue3 + JS solution
Add the following configuration in the. Eslint.js configuration file
Vue3 + TS solution
OK, these are the vue3 error reporting solutions I sorted out. If you like, praise the collection!
Similar Posts:
- [Solved] Vue3.X version error: Parsing error: Parsing error: Unexpected token
- [Solved] ESLint Error: Failed to load config “standard” to extend from
- [Solved] Vue Esline Error: Parsing error: Unexpected token import
- Maven: How to uses tomcat8 Maven plugin
- TS eslint angle bracket Error: Parsing error: Identifier expected
- Module build failed (from ./node_modules/eslint-loader/index.js):Error: Failed to load plugin html:
- Solution to the error of eslint “extra semicolon”
- ERROR in ./~/[email protected]@element-ui/lib/element-ui.common.js Module not found: Error: Can’t re
- [vue/no-parsing-error] Parsing error: invalid-first-character-of-tag-name.eslint-plugin-vue Parsing error: invalid-first-character-of-tag-name.eslint(vue/no-parsing-error)
- Windows / Android / IOS / Linux platform h265 streaming media player easyplayer.js deployment error