报错误信息:

Already included file name '.../xxx.vue' differs from file name '.../xxx.vue' only in casing.
The file is in the program because:
Imported via '…/xxx.vue' from file '.../xxx.vue'
Root file specified for compilation
Root file specified for compilationVetur(1261)
 

解决方案:

 重新加载 vsocode

1.快捷键:Ctrl + shift + P,打开:“命令面板”,输入:重新加载

2.如果控制台还报错需要重新npm run serve

Logo

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

更多推荐