可以解决,但还有其他的办法

可以解决,但还有其他的办法,第1张

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文件下输入红框框的内容,然后问题就解决了!!!!

 

具体啥原理我还不太懂,反正解决了,我先记录一下!如果能帮到你们,那我会更开心!

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1296896.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-06-10
下一篇2022-06-10

发表评论

登录后才能评论

评论列表(0条)

    保存