Already included file name ‘c:/Users/Administrator/Desktop/test/src/components/detailList.vue’ differs from file name ‘c:/Users/Administrator/Desktop/test/src/components/detaillist.vue’ only in casing.
The file is in the program because:
Imported via ‘…/components/detailList.vue’ from file ‘c:/Users/Administrator/Desktop/test/src/views/Detail.vue’
Root file specified for compilation
Root file specified for compilationVetur(1261)
wo
我引入的文件名和地址其实时正确的,但是还是报错误
这时候我们只要把文件名的后缀vue去掉就好了
在这里插入图片描述

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐