Skip to Content
Nextra 4.0 is released 🎉
DocsNextjsPage

Building and deploying your Next.js app

Once you have made the necessary changes, you can compile and minify your code for production by running npm run build. To test the production-ready version of your app locally, you can run npm run start, this will launch a local server that allows you to preview your app in a production environment.


You can deploy your app on Vercel , or use any other services  recommended in the official documentation.

Last updated on