Why are there two dashboard dirs in the project?
Answered
Blanc de Hotot posted this in #help-forum
Blanc de HototOP
Ive been looking at the example project, and noticed that there are two dashboard directories
Answered by chisto
the folders inside the red folder (app) are the actual routes
like /dashboard, /dashboard/customers
they mostly contain just the page.tsx and all the components inside this page.tsx are in the ui folders with the same naming
its just a convention to have the same folder names so you can easily find components or stuff related to
like /dashboard, /dashboard/customers
they mostly contain just the page.tsx and all the components inside this page.tsx are in the ui folders with the same naming
its just a convention to have the same folder names so you can easily find components or stuff related to
3 Replies
the folders inside the red folder (app) are the actual routes
like /dashboard, /dashboard/customers
they mostly contain just the page.tsx and all the components inside this page.tsx are in the ui folders with the same naming
its just a convention to have the same folder names so you can easily find components or stuff related to
like /dashboard, /dashboard/customers
they mostly contain just the page.tsx and all the components inside this page.tsx are in the ui folders with the same naming
its just a convention to have the same folder names so you can easily find components or stuff related to
Answer
only the folders with page.tsx file, are directories or routes
Blanc de HototOP
Thank you!, the more I looked at it the less is was making sense