K
K
kroha30002019-10-20 15:44:56
Vue.js
kroha3000, 2019-10-20 15:44:56

Pages, Views, Components. What is the correct file structure for a Vue project?

Pages, Views, Components.
Can you explain what is the difference between these directories in a vue project? That is, what, where to store.
We create pages, for example in Views. - Auth, Registration, etc. if required. do they load similar Auth, Registration components from Components?
And is it right to make a universal page (Type wrapper), place it in Pages or Views, and import all the other components that I need into it? Then what is the difference between Pages and Views?
ps I understand that the question is a little blunt, but how many video lessons and guides I have not re-read, everything is somehow different for everyone. In the off documentation, either I searched badly, or it is not explicitly indicated.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artur Karapetyan, 2019-10-20
@kroha3000

tyk0
tyk1
tyk2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question