mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-20 20:55:23 +02:00
next: add page (#5385)
This commit is contained in:
parent
d66eae6c32
commit
7cd7f64c7d
1 changed files with 36 additions and 0 deletions
36
pages/common/next.md
Normal file
36
pages/common/next.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue