Skip to main content

内容类型生成器简介

¥Introduction to the Content-type Builder

Content-type Builder 是 Strapi 的核心插件。该功能始终默认启用且无法停用。然而,只有当应用处于开发环境中时才能访问内容类型生成器。

¥The Content-type Builder is a core plugin of Strapi. It is a feature that is always activated by default and cannot be deactivated. The Content-type Builder is however only accessible when the application is in a development environment.

管理员可以从以下位置访问内容类型生成器

¥Administrators can access the Content-type Builder from

CTB icon

管理面板主导航中的内容类型生成器。

¥Content-type Builder in the main navigation of the admin panel.

Content-type Builder interfaceContent-type Builder interface

从内容类型生成器中,管理员可以创建和管理内容类型:集合类型和单一类型,还有组件。

¥From the Content-type Builder, administrators can create and manage content-types: collection types and single types but also components.

  • 集合类型是可以管理多个条目的内容类型。

    ¥Collection types are content-types that can manage several entries.

  • 单一类型是只能管理一个条目的内容类型。

    ¥Single types are content-types that can only manage one entry.

  • 组件是一种可以用于多种集合类型和单一类型的数据结构。

    ¥Components are a data structure that can be used in multiple collection types and single types.

所有 3 个都在内容类型生成器的子导航中显示为类别。每个类别中列出了所有已创建的内容类型和组件。

¥All 3 are displayed as categories in the sub navigation of the Content-type Builder. In each category are listed all content-types and components that have already been created.

从内容类型生成器子导航的每个类别中,可以:

¥From each category of the Content-type Builder sub navigation, it is possible to:

💡 提示

单击搜索图标

¥Click the search icon

Search icon

在内容类型生成器子导航中查找特定的集合类型、单一类型或组件。

¥in the Content-type Builder sub navigation to find a specific collection type, single type, or component.