内容类型生成器简介
¥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 Content-type Builder in the main navigation of the admin panel.
从内容类型生成器中,管理员可以创建和管理内容类型:集合类型和单一类型,还有组件。
¥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 on an existing content-type or component to access it and edit it (see Managing content-types),
-
或创建新的内容类型或组件(参见 创建内容类型)。
¥or create a new content-type or component (see Creating content-types).
单击内容类型生成器子导航中的搜索图标 以查找特定的集合类型、单一类型或组件。
¥Click the search icon in the Content-type Builder sub navigation to find a specific collection type, single type, or component.