mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 05:54:39 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ 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>.
|
||||
> More information: <https://nextjs.org/docs/app/api-reference/cli/next>.
|
||||
|
||||
- Start the current application in development mode:
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Start the current application and listen on a specific port:
|
||||
|
||||
`next dev --port {{port}}`
|
||||
`next dev {{[-p|--port]}} {{port}}`
|
||||
|
||||
- Build the current application optimized for production:
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Start the compiled application and listen on a specific port:
|
||||
|
||||
`next start --port {{port}}`
|
||||
`next start {{[-p|--port]}} {{port}}`
|
||||
|
||||
- Export the current application to static HTML pages:
|
||||
|
||||
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display help for a subcommand:
|
||||
|
||||
`next {{build|dev|export|start|telemetry}} --help`
|
||||
`next {{build|dev|export|start|telemetry}} {{[-h|--help]}}`
|
||||
|
||||
Reference in New Issue
Block a user