CLI
Next.js 附带两个命令行接口 (CLI) 工具:
¥Next.js comes with two Command Line Interface (CLI) tools:
-
create-next-app
:使用默认模板或来自公共 GitHub 存储库的 example 快速创建新的 Next.js 应用。¥**
create-next-app
**: Quickly create a new Next.js application using the default template or an example from a public GitHub repository. -
next
:运行 Next.js 开发服务器、构建应用等。¥**
next
**: Run the Next.js development server, build your application, and more.