Answer the question
In order to leave comments, you need to log in
Is it correct to split a component into compound files (vue cli)?
Hello, is it correct to separate one component into a separate css, js, html file? How can I output the scss of a component to a separate file? Can I have an example please
Answer the question
In order to leave comments, you need to log in
If you need to use one piece of code in different components, then mixins will help.
SFC is one of the features and it is convenient when the component is small, no more than 2 screens in the IDE. It is already inconvenient to scroll more and it is better to split into files. But this is individual of course))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question