vue3 SFC not show ts error
https://github.com/candy-Tong/webstorm-demo
in webstorm
in vscode


how can i make webstorm show the ts error in vue Single File Component
请先登录再写评论。
https://github.com/candy-Tong/webstorm-demo
in webstorm
in vscode


how can i make webstorm show the ts error in vue Single File Component
请先登录再写评论。
WebStorm doesn't user Typescript compiler to lint code in templates
The code runs fine, BTW, no errors are reported when building/executing the code
You can run `npm run build`. There will have the a ts error
In a large project, I can't find the error in template and the problem is only discovered when I was building. I think it's not a good programming experience in template.
Are there any plans to use typescript compiler to lint code in templates?
error is only reported by
vue-tsc; can't see issues on buildingIDE has its own error checking for Vue templates; right now, we have no plans using Typescript service here, but, if you feel that it's necessary, please feel free to file a request to youtrack, https://youtrack.jetbrains.com/issues/WEB