Quick start tutorial steps for installing NextJS:
- Install Node on Mac
- Create NextJS project
npx create-next-app@latest
–javascript
(We can name it proj1) - Run the app in dev mode
cd proj1
npm run dev
- Visit the url http://localhost:3000/ in browser
- To run the app in production mode, we first need to build it and run it
npm run build
npm start - The above page is served by pages/index.js