vscode出现下面这个问题时:

TypeScript intellisense is disabled on template. To enable, configure \"jsx\": \"preserve\" in the \"compilerOptions\" property of tsconfig or jsconfig. To disable this prompt instead, configure \"experimentalDisableTemplateSupport\": true in \"vueCompilerOptions\" property

在这里插入图片描述
在这里插入图片描述

在jsconfig.json文件下输入红框框的内容,然后问题就解决了
在这里插入图片描述
还有其他方法解决

Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐