create-turbo
开始使用 Turborepo 最简单的方法是使用 create-turbo
。使用此命令行工具快速开始构建新的 monorepo,所有设置均已为你设置好。
¥The easiest way to get started with Turborepo is by using create-turbo
. Use this CLI tool to quickly start building a new monorepo, with everything set up for you.
从示例开始
¥Start with an example
社区精心挑选了一组示例,展示如何在 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:
使用以下任意示例名称:
¥Use any of the example's names below:
核心维护示例
¥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.
Name | Description |
---|
社区维护的示例
¥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:
Name | Description |
---|
使用社区示例
¥Use a community example
你还可以使用 GitHub URL 来使用自定义启动器或示例。这对于使用你自己的自定义启动器或来自社区的示例非常有用。
¥You can also use a custom starter or example by using a GitHub URL. This is useful for using your own custom starters or examples from the community.
选项
¥Options