3 comments
Comment actions Permalink

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

0
Comment actions Permalink

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?

0
Comment actions Permalink

error is only reported by vue-tsc; can't see issues on building

IDE 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

 

0

Please sign in to leave a comment.