R
R
Roman Sarvarov2020-12-30 11:08:02
phpstorm
Roman Sarvarov, 2020-12-30 11:08:02

PHPStorm does not highlight data from Vue mixins. Can be corrected?

Just got acquainted with Vue mixins, you can very easily get rid of code duplication in components.
In the component, I do it simply mixins: [mixin](I import the mixin from a separate js file).

Everything works fine, but the IDE does not highlight the methods and state variables from the mixin file.
Am I connecting the mixins wrong or is it normal that the IDE can't highlight this?
p.s. the vue plugin is installed.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question