报错 (1)

ERROR Failed to compile with 1 error 09:39:17
[eslint] D:\Study\Code\java\javaweb\Community\office-management-system\src\views\residents\Pregnancy.vue 1:1 error Component name "Pregnancy" should always be multi-word vue/multi-word-component-names
✖ 1 problem (1 error, 0 warnings)
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 [eslint] D:\Study\Code\java\javaweb\Community\office-management-system\src\views\residents\Pregnancy.vue 1:1 error Component name "Pregnancy" should always be multi-word vue/multi-word-component-names
✖ 1 problem (1 error, 0 warnings)
webpack compiled with 1 error
 
这个错误是因为 Vue 的 ESLint 规则要求组件名称必须是多单词的(multi-word),以避免与 HTML 原生标签冲突(例如 divspan 等)。你的组件名称是 Pregnancy,这是一个单词,因此触发了 vue/multi-word-component-names 的规则。
Loading...
Catalog
Article List
一个NotionNext搭建的博客
数据库系统概论
大数据原理与应用
javaWeb应用开发基础教程
python
毕业设计
大数据技术综合应用
实训-航空数据系统
java面向对象程序设计
数据结构
算法分析与设计
SPARK
Python爬虫大数据采集与挖掘
云计算
概率论与数理统计
数字逻辑
计算机网络
计算机组成原理
linux
操作系统
人工智能导论
数据仓库与数据挖掘
数据可视化
大数据安全与隐私保护
c语言
C++