Right place to put Components used only in root route
Answered
English Lop posted this in #help-forum
English LopOP
Do these go in app/ directly?
10 Replies
Asiatic Lion
you can if you want, its mainly just a preference
Answer
Asiatic Lion
what I do is if I only use a component in one place, I put in the same route, but if im using it in multiple places I put it in a components folder
@Asiatic Lion what I do is if I only use a component in one place, I put in the same route, but if im using it in multiple places I put it in a components folder
English LopOP
got it, is the components folder under src/? or app?
@English Lop got it, is the components folder under src/? or app?
Asiatic Lion
it doesn’t have to be in any
i make a new folder in root
i don’t put it in app
English LopOP
o
Asiatic Lion
but you can if you want
English LopOP
icic
thanks