Folder Structure Next js
Understand the folder structure of the template and what the template contains.
Step-1 : Root Structure
The root
folder contains the core code of this application. The DashCode folder structure looks like this.
.
├─ app
│ ├─ (auth)
│ │ ├─ login
│ │ ├─ register
| | |- layout.js
│ ├─ (dashboard)
│ │ ├─ baking
│ │ ├─ crm
| | |layout.js
| |-layout.js
| |-loading.js
│ |
│ ├─ config
│ ├─ Layout
│ ├─ hooks
│ ├─ store
│ ├─ components
│ │ ├─ partials
│ │ ├─ ui
│ │ ├─ widgets
|
├─ next.config.js
├─ jsconfig.json
├─ .gitignore
├─ package.json
├─ README.md
|- postcss.config.js
|- tailwind.config.js
│
│
└─ package.json
TIP
you can follow the next-js official documentation. you can also see beta doc next-js-beta