vscode中vue项目中修改.vue文件名后报错
vscode中vue项目中修改.vue文件名后报错
·
报错误信息:
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
更多推荐
已为社区贡献3条内容
所有评论(0)