Vue.js plugin and vue-class-component issues
Hi,
I cloned the project vue-class-component. There an example folder. I noticed that with typescript service enabled, WebStorm doesn't know that the App is used:

And I don't know why I can't use App as type (the code is built OK):

Is it a bug?
Thanks!
Please sign in to leave a comment.
Vue single file components can't be compiled with TypeScript compiler - it won't load ts modules from <script> section of .vue file. You will see the same error when running tsc in terminal.
So, you have to turn the service off for your project, and rely on WebStorm own error highlighting/completion, and use webpack for building
When I turn off the service, I can't autocomplete vm.*, like
and webstorm says "unresolved function"
please follow https://youtrack.jetbrains.com/issue/WEB-25969 for updates