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

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐