error Component name “xxx“ should always be multi-word vue/multi-word-comp
一、Vue 3编译报错
error Component name "Login" should always be multi-word vue/multi-word-comp
error Component name "Login" should always be multi-word vue/multi-word-comp
分析:语法检查的时候把不规范的代码(即命名不规范)当成了错误
解决方案:
- 更改组件名(这个比较麻烦),也就是重新起个组件名,使其符合命名规范,如: StudentName 或者 student-name
- 修改配置项,关闭语法检查
1.在项目的根目录找到(没有就创建)vue.config.js
文件
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({transpileDependencies: true,lintOnSave:false
})
更多:
VSCode中Vue3插件使用整理_Vue3开发插件
Element-ui和Element-Plus的区别_Element2和Element3的区别
Vue3+Element Plus开发搭建_Vue3+Element3开发搭建
error Component name “xxx“ should always be multi-word vue/multi-word-comp相关推荐
- vue使用vuetify创建项目运行报错:error Component name XXX should always be multi-word vue/multi-word-compon
报错如下: You may use special comments to disable some warnings. Use // eslint-disable-next-line to igno ...
- Eclipse error: “The import XXX cannot be resolved”
解决 Eclipse error: "The import XXX cannot be resolved" eclipse中修改: 1. 项目-->Properties--& ...
- IDEA中进行SpringBoot开发时提示:Error resolving template xxx, template might not exist or might not be acce
场景 IDEA中进行SpringBoot开发时提示: Error resolving template "xxx", template might not exist or mig ...
- echarts异步加载柱状图遇到的错误- Error: Component series. not exists. Load it first.
今天看了下echarts教程之中的异步加载柱状图,我按照教程中的代码敲出来之后再运行,就报了一个 Error: Component series. not exists. Load it first. ...
- Runtime error 216 at xxx 故障解决一例
2019独角兽企业重金招聘Python工程师标准>>> 故障现象:部分Delphi项目在win7开发机上不能运行了,提示Runtime error 216 at xxx错误信息,但是 ...
- 异常:Error resolving template “xxx“, template might not exist or might not be accessible...解决办法
异常:Error resolving template "xxx", template might not exist or might not be accessible...解 ...
- error redefinition of 'xxx' 问题解决
error redefinition of 'xxx'出现这种问题: 1. .H文件没有进行#ifndef... #define... ..... #endif 这种限制.
- 解决:syntax error at line xxx: `<<‘ unmatched
文章目录 问题 解决 问题 写了一个shell脚本,在Linux上运行时,报下面的错误: syntax error at line xxx: `<<' unmatched 上面的xxx 为 ...
- postman Error: connect ECONNREFUSED xxx
接口测试过程中,连接测试环境,脚本正常跑通,切换到线上环境后,运行报错. Error: connect ECONNREFUSED xxx.xxx.xxx.xxx:xx 该链接放在浏览器内也能正常运行, ...
最新文章
- Linux的文件管理命令
- 极其好用好学的规则引擎 - A2D规则引擎
- 基础003_V7-Memory Resources
- shell 获取MD5值
- 【书单】推荐几本AI好书
- UVA1585 UVALive3354 Score【水题】
- step7V5.5中文版
- java - 小程序二维码中间的logo占整个二维码的比例计算
- 如何使用 JavaScript 读取文件
- Intel Altera cyclone V HPS GIC
- https封装类,支持get/post请求
- 各种翻车问题——最长公共前缀
- 使用gitbook时graceful-fs报错:TypeError: cb.apply is not a function的解决方案
- 将父类实体类转变子类实体类
- (转载)多少年来心血的结晶
- c++在文件中提取数字或字母
- PICT测试工具的安装及使用
- ChinaSoft 论坛巡礼 | 程序设计教育论坛
- Kali2022 系统语言怎么切换中文
- Jaeger-分布式调用链跟踪系统理论与实战
热门文章
- Java计算机毕业设计实验室设备管理系统演示录像2020源码+系统+数据库+lw文档
- select下拉框多选
- 关于pgadmin v4一直卡在loading页面的问题解决
- behance上流行的抽象炫酷资源,国外高级抽象炫酷素材合集分享
- 哪个品牌的运动耳机比较好、运动蓝牙耳机品牌排行榜
- iOS流媒体技术——实时流媒体开发
- 【冷知识】如何快速获取自己的微信公众号关注页的链接地址?
- Android基础控件——SeekBar的自定义,超短代码模仿抖音带有数字拖拽进度条
- ESP32常见配网方式分析
- C#人脸对比服务(基于虹软人脸识别SDKV4.1封装)