Folder Structure
Nemu comes with a flexible file structure that can be easily used for small to large scope projects. This section will explain the entire file structure and how to adapt it to your project.
project-root/ │ ├── app/ │ ├── blog/ │ │ ├── [slug]/ │ │ │ └── page.tsx │ │ └── page.tsx │ ├── portfolio/ │ │ ├── [slug]/ │ │ │ └── page.tsx │ │ └── page.tsx │ ├── layout.tsx │ └── page.tsx │ ├── components/ │ ├── mdx/ │ │ ├── CustomLink.tsx │ │ └── CodeBlock.tsx │ └── ... (other components) │ ├── content/ │ ├── blog/ │ │ ├── post-1.mdx │ │ └── post-2.mdx │ └── portfolio/ │ ├── project-1.mdx │ └── project-2.mdx │ ├── lib/ │ ├── mdx.ts │ └── ... (other utility files) │ ├── public/ │ └── ... (static assets) │ ├── styles/ │ └── ... (global styles and CSS modules) │ ├── types/ │ └── ... (TypeScript type definitions) │ ├── next.config.mjs ├── package.json ├── theme.config.tsx └── tsconfig.json