Support for ref in Vue.js component works improper.
<any-component ref="foo"></any-component>
Webstorm would tell the variable foo is unresolved.
And something like '$refs.foo' would also be unresolved.
How to solve this problem?
Or is this just a "known"?
Please sign in to leave a comment.
The same happens to me. I need a solution too...
Please follow https://youtrack.jetbrains.com/issue/WEB-31701 for updates