Already included file name 'd:/workspace//BodyTagNoteSet.vue' differs from file name 'd:/workspace/BodytagNoteSet.vue' only in casing. The file is in the program because: Imported via "./customForm/BodyTagNoteSet.vue" from file 'd:/workspace/CustomAnesForm.vue' Root file specified for compilation Root file specified for compilationVetur(1261)

该错误的原因是(当然也可以不管,因为你会发现你的代码可以正常运行):

vue名称相同,但是有大小写差异导致的

解决方案:


1、修改名称,使得引用的和文件名称大小写都对应起来

2、去掉vue后缀也能解决掉该问题

Logo

前往低代码交流专区

更多推荐