This is a Next.js project template using the App Router. It's designed to be cloned and used as a starting point for your Next.js projects.
-
Clone this repository:
git clone https://github.com/joshverd/app-router-template.git cd app-router-template
-
Install dependencies:
npm install
-
Run the development server:
npm start
Open http://localhost:3000 with your browser to see the result.
In the project directory, you can run:
npm run start
: Runs the app in development mode.npm run build
: Builds the app for production.
This is how I like to structure my projects, but feel free to open a pull request if you think something can be improved.