MENU
Official Tutorials
This Github repository (or a fork here ) contains the starter templates and the final products of the official Next.js tutorials.
You can get a quick glance at how a Next.js project looks like by downloading the final code:npx create-next-app@latest nextjs-dashboard --use-npm --example "https://github.com/vercel/next-learn/tree/main/dashboard/final-example"
1. To run the development server that supports hot reloading:
npm run dev
Open "localhost:3000" on a browser such as Chrome to view the webpage.
2. To build an optimized version of the project, and then launch the production server:
npm run build
npm start