vscode+vue3.2+volar提示html报错

vscode安装了volar插件,template正常写html
就会莫名报错,鼠标放在红波浪线提示:
The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements
image.png

甚至提示找不到vue模块

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