Quick Notes - NextJs Specify A Port Number For Development
Use these notes to specify a port number to a NextJs project:
- Open package.json
- Change start to: "start" : "next start -p 8080",
- Use command: npm run start or yarn start
- Done
You can also use it on dev