Where do you store your components?
Unanswered
Semipalmated Plover posted this in #help-forum
Semipalmated PloverOP
Say you build some nice frontend components that you want to reuse. Is there a place to store a collection of components and be able to see them, for selection in the future?
5 Replies
https://i.stack.imgur.com/qgDVo.png
Some keep the components inside the app but I keep them outside to tell other engineers that app directory includes only page components. If you have similar routes that have shared layouts you can use () syntax inside app directory. For example
@Bighead carp https://stackoverflow.com/questions/76214501/nextjs-13-folder-structure-best-practice
Semipalmated PloverOP
i mean like
for my personal collection of components
to use on multiple apps