Answer the question
In order to leave comments, you need to log in
How to split the code into separate files?
There is a component of the main account, inside the component there are 3 screens, each of the screens has its own styles and functions. All this in one component.
How to properly split the code into separate files?
Answer the question
In order to leave comments, you need to log in
select layouts (header, footer, sidebar ...etc) and move them into separate components.
each of the three screens is also taken out into separate components.
And just as a constructor to collect them in the desired file.
https://ru.vuejs.org/v2/guide/components-registrate...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question