Folder Strucutre in nextJs
Unanswered
Netherland Dwarf posted this in #help-forum
Netherland DwarfOP
Hello guys , I was wondering what folder strucutre are you using for your webapps that made them easier to maintain and work with
3 Replies
@Netherland Dwarf Hello guys , I was wondering what folder strucutre are you using for your webapps that made them easier to maintain and work with
Siberian
I'm creating a project and have implemented the authentication so far, here is the structure:
Most notably I have:
-
-
-
-
-
-
app/
which follows the app-router approach, and is required in Next.js 13+-
components/
for reusable ui components, just like in React.-
lib/
contains libary functionality, and utilities.-
ui/
My preferred approach uses client pages used in app/
.-
utils
for utilities.