报错如下:
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
ERROR in
G:\vue\parking-manag\src\views\HomeView.vue
9:11 error Component name "Home" should always be multi-word vue/multi-word-component-names✖ 1 problem (1 error, 0 warnings)
webpack compiled with 1 error
可能是创建项目的时候,加入检查语法的插件
解决方法是在vue.config文件中加入 lintOnSave: false 即可。