如何解决Vue项目关于‘TypeScript intellisense is disabled on template. To enable, configure `"jsx": ’错误

如何解决Vue项目关于‘TypeScript intellisense is disabled on template. To enable, configure `"jsx": ’错误
 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://blog.csdn.net/weixin_48141892/article/details/124698818

 

posted @ 2022-05-20 22:01  WangED  阅读(7600)  评论(0)    收藏  举报