Create Next.js Project
Just type
npx create-next-app project-name
Directory
project-name
┣ node_modules/
┣ public/
┃ ┣ favicon.ico
┃ ┗ versal.svg
┣ pages/
┃ ┣ api/
┃ ┃ ┗ helle.js
┃ ┣ _app.js
┃ ┗ index.js
┣ styles/
┃ ┣ global.css
┃ ┗ Home.module.css
┣ package.json
┣ package-lock.json
â”— README.md
Hello Next.js
npm run dev
Access localhost:3000, then you can see a welcome page
Top comments (0)