DocumentationTemplate Structure

Nextjs - DevIniter Next.js

Next.js - Page Router Template’s Structure

Top-level folders

FolderDescription
publicStatic assets storage
srcApplication source folder
prismaPrisma’s schemas

Top-level files

FilesDescription

tsconfig.ts

Configuration for Typescript

next.config.mjs

Configuration for Next.js
vitest.config.tsConfiguration for Vitest
package.jsonProject dependencies and scripts
.evnEnvironment variables
.gitignoreFiles and folders should be ignored by Git
tailwind.config.tsConfiguration for TailwindCSS
component.jsonConfiguration for ShadCN
postcss.config.jsConfiguration for PostCSS
.eslint.jsonConfiguration for ESLint
README.mdProject’s information

MIT 2024 © DevIniter. All Rights Reserved.