vscode提示的doctor Use @volar-plugins/vetur instead of Vetur?

新手上路,请多包涵

image.png

content1.vue Doctor

❗ Incorrect Target

Target version not match, you can specify the target version in vueCompilerOptions.target in tsconfig.json / jsconfig.json. (expected "target": 2.7)

  • Vue version: 2.7.10
  • tsconfig: Not found
  • tsconfig target: 3 (default)

❗ Use @volar-plugins/vetur instead of Vetur

Detected Vetur enabled, you might consider disabling it and use @volar-plugins/vetur instead of.


Have question about the report message? You can see how it judge by inspecting the source code.
阅读 16k
1 个回答

告诉你该换插件了,因为你用了vue2.7,所以需要换成volar并且需要额外配置一下
image.png

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题
宣传栏