0
点赞
收藏
分享

微信扫一扫

The file is in the program because: Imported via xxx Root file specified for compilation Vetur(1261)


问题

今天用 vscode 编辑器编写 vue 组件的时候, 由于自己改变了组件的文件名,导致引用组件的时候出现了 Vetur(1261) 的报错,报错现象如下:

The file is in the program because: Imported via xxx Root file specified for compilation Vetur(1261)_vscode

解决方式

目前我的解决方式就是:保存好文件之后,关闭 vscode 编辑器,然后在打开就没有报错提醒了。这个问题通常是 vscode 引起的,一般是你很快的重命名了自己的文件。

The file is in the program because: Imported via xxx Root file specified for compilation Vetur(1261)_vue_02


举报

相关推荐

0 条评论