error Component name “index“ should always be multi-word vue/multi-word-component-names
Vue Error be word name index Component multi
2023-09-27 14:27:34 时间
Vue3在编译的时候报错error Component name "index" should always be multi-word vue/multi-word-component-names
,解决方法是关闭语法检查,在vue.config.js中增加下面配置
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave:false
})
相关文章
- 【Vue 快速入门系列】更新数据页面不渲染问题
- [Vue warn]: Error in callback for watcher “lss“: “TypeError: Cannot read properties of undefined
- VUE 前端文本输出为超文本
- Vue你不知到的$this.emit()的用法
- 精品微信小程序ssm校友录网站+后台管理系统|前后分离VUE
- vue离开页面销毁定时器
- Vue.js 基础知识
- 经典文摘:饿了么的 PWA 升级实践(结合Vue.js)
- vue项目实战:项目布局和公共文件夹的确定
- vue全局使用自定义字体
- Vue Router4报错 Error: Invalid route component
- [Vue warn]: Error in mounted hook: “TypeError: handler.call is not a function“
- 在Vue.js中使用Mixins