Base Template
Initialize a Next Inject Project.
Usage
The Project Structure π
Here is the initial folder structure you receive when you start out with Next Injectβ‘
Note
This folder structure does not contain every file.
These are only the most important files, any additional files will be explained using comments. π
.env.local
.eslintignore
.eslintrc.json
.gitignore
components.json
next-inject.json
next.config.mjs
package.json
postcss.config.js
tailwind.config.ts
tsconfig.json
Pro Tip
We recommend you keep this base structure consistent to ensure you get the most out of your plugins.
If you are encountering issues or have any questions about our project structure, please contact us directly.
Why Do We Enforce This Project Structure?
This project structure is derived from the best practices acquired since the app router release in June 2023.
After 1 year of trial and error, we know what works and what doesn't work, and we put all of our knowledge into this robust project structure suitable for projects of all size.