Deploy
Last updated
Last updated
-- great pun, right? -- it's time to show your project to the world!
For easy, zero configuration deployment, you can use . After you have downloaded and installed 's , you can deploy with a single command.
You will get a unique URL which you can then link via now alias to your custom domain.
Next.js can be deployed to any hosting provider that supports Node.js. This is the approach you should take if you’re using a .
Make sure your package.json
has the build
and start
scripts:
next build
builds the production application in the .next
folder. After building, next start
starts a Node.js server that supports , serving both statically generated and server-side rendered pages.