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)
我引入的文件名和地址其实是正确的,但是还是报错误
这时候我们只要把文件名的后缀vue去掉就好了
————————————————
版权声明:本文为CSDN博主「SwiftDeng」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_41654729/article/details/117849352