Base Template

Initialize a Next Inject Project.

Usage

npx next-inject init

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.


Any further questions?
Please do not hesitate to contact us by email or twitter
Also, If you are enjoying Next Inject, feel free to share a testimonial here!

On this page