从示例开始

使用 create-turbo 用你喜欢的工具引导示例。

¥Use create-turbo to bootstrap an example with your favorite tooling.

Terminal
# Use an example listed below
pnpm dlx create-turbo@latest --example [example-name]
 
# Use a GitHub repository from the community
pnpm dlx create-turbo@latest --example [github-url]

核心维护示例

¥Core-maintained examples

以下示例由 Turborepo 核心团队维护。依赖会尽可能保持最新,并接受和处理这些示例的 GitHub Issue。

¥The following examples are maintained by the Turborepo core team. Dependencies are kept as up-to-date as possible and GitHub Issues are accepted and addressed for these examples.

NameDescription

社区维护的示例

¥Community-maintained examples

社区精心挑选了一组示例,展示如何在 Turborepo 中使用常用工具和库。要使用其中一个示例引导你的 monorepo,请使用 --example 标志:

¥The community curates a set of examples to showcase ways to use common tools and libraries with Turborepo. To bootstrap your monorepo with one of the examples, use the --example flag:

Good to know: 

这些示例的 GitHub Issue 将被关闭。如果你发现问题,请提交包含修复程序的拉取请求。

¥GitHub Issues for these examples will be closed. If you find problems, please submit a pull request with fixes.

NameDescription