WebStorm and PHPStorm won't recognize Vue component configuration when exporting it from a variable

When writing a Vue component in either IDE; if the component configuration (or Vue.extend call) is assigned to a let or const variable that is the default export, the IDE will not recognize any members of the configuration such as members, methods, or local components.

Spliced example of this:

0
1 comment

creating components with Vue.extend() is not currently supported, see https://youtrack.jetbrains.com/issue/WEB-31721 and linked tickets

0

Please sign in to leave a comment.