美文网首页
新建文件 ESlint 报错 Component name "H

新建文件 ESlint 报错 Component name "H

作者: 仇一乐 | 来源:发表于2022-07-21 17:05 被阅读0次
image.png
image.png
文件名称不应该只有一个单词。
找到你的 ESlint 的配置项中的 rules 加入这么一项配置,值设置关闭,就不会有报错提示了。
"vue/multi-word-component-names":0
截屏2022-07-22 17.04.56.png

相关文章

网友评论

      本文标题:新建文件 ESlint 报错 Component name "H

      本文链接:https://www.haomeiwen.com/subject/cpomirtx.html