Answer the question
In order to leave comments, you need to log in
Where do you put shared components and where do you put private ones?
Here is my vue template, there are folders like this:
src/components
src/pages
src/pages/page1/components/PrivateComponents
Answer the question
In order to leave comments, you need to log in
And what will happen if tomorrow it will be used on another page? Should I copy the folder? I would throw it in components. But there it is also better to divide by tree, so that everything does not lie at the root.
If you want to bind to a page, then it's better to do this
src/components/page1/component
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question