Answers for "run next js on different port"

42

set port nextjs

"scripts": {
    "dev": "next dev -p 8080", // for dev 
    "start": "next start -p 8080" // for prod
},
Posted by: Guest on June-25-2021
0

run next on differnet port

// Add this to your package.json
"dev": "next dev -p 3005"
Posted by: Guest on April-30-2021

Code answers related to "run next js on different port"

Code answers related to "Javascript"

Browse Popular Code Answers by Language