mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 16:54:49 +00:00
Update cheatsheets
This commit is contained in:
41
next
Normal file
41
next
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# next
|
||||
|
||||
> React framework that uses server-side rendering for building optimized web applications.
|
||||
> More information: <https://nextjs.org/docs>.
|
||||
|
||||
- Start the current application in development mode:
|
||||
|
||||
`next dev`
|
||||
|
||||
- Start the current application and listen on a specific port:
|
||||
|
||||
`next dev --port {{port}}`
|
||||
|
||||
- Build the current application optimized for production:
|
||||
|
||||
`next build`
|
||||
|
||||
- Start the compiled application in production mode:
|
||||
|
||||
`next start`
|
||||
|
||||
- Start the compiled application and listen on a specific port:
|
||||
|
||||
`next start --port {{port}}`
|
||||
|
||||
- Export the current application to static HTML pages:
|
||||
|
||||
`next export`
|
||||
|
||||
- Display the Next.js telemetry status:
|
||||
|
||||
`next telemetry`
|
||||
|
||||
- Display help for a subcommand:
|
||||
|
||||
`next {{build|dev|export|start|telemetry}} --help`
|
||||
Reference in New Issue
Block a user