next

React framework that uses server-side rendering for building optimized web applications.

TLDR

Start the current application in development mode

$ next dev
copy

Start the current application and listen on a specific port

$ next dev --port [port]
copy

Build the current application optimized for production

$ next build
copy

Start the compiled application in production mode

$ next start
copy

Start the compiled application and listen on a specific port

$ next start --port [port]
copy

Export the current application to static HTML pages

$ next export
copy

Display the Next.js telemetry status

$ next telemetry
copy

Display help for a subcommand

$ next [build|dev|export|start|telemetry] --help
copy

Copied to clipboard
Coindodo