报错误信息:

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

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

更多推荐