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"?

2
2 comments
Avatar
Permanently deleted user

The same happens to me. I need a solution too...

1

Please sign in to leave a comment.