Skip to main content

插件简介

¥Introduction to plugins

Strapi 围绕不同类型的插件构建。每个默认的 Strapi 应用都附带以下预装插件:

¥Strapi is built around different types of plugins. Every default Strapi application comes with the following pre-installed plugins:

这些插件对于 Strapi 应用的运行至关重要,并且无法卸载。

¥These plugins are essential for your Strapi application to function and cannot be uninstalled.

市场 中提供了可用于扩展和自定义 Strapi 应用的其他插件。本节重点介绍如何安装和管理这些附加插件。

¥Additional plugins that you can use to extend and customize your Strapi applications are available in the Marketplace. This section focuses on how to install and manage these additional plugins.

在管理面板中,管理员可以:

¥From the admin panel, administrators are allowed to:

Marketplace icon

市场(见 管理市场插件

¥Marketplace (see Managing Marketplace plugins)

  • 查看当前安装的插件和 providers

    ¥review the currently installed plugins and providers in

Cog icon

设置 > 插件

¥Settings > Plugins

Plugins in Settings sectionPlugins in Settings section

提供者

¥Providers

一些插件可以通过提供程序的配置进一步扩展,这些程序包设计用于在现有插件之上使用并向其添加特定的集成。例如,你可以使用 AWS S3 提供者来扩展媒体库插件并将文件存储在 S3 存储桶中,而不是本地服务器上。

¥Some plugins can be further extended through the configuration of providers, packages designed to be used on top of an existing plugin and add a specific integration to it. For example, you can use the AWS S3 provider to extend the Media Library plugin and store files in your S3 bucket rather than locally on your server.

目前,唯一设计用于与提供者合作的插件是:

¥Currently, the only plugins designed to work with providers are the:

自定义字段

¥Custom fields

一些插件可以向 Strapi 添加自定义字段(有关创建自定义字段插件的更多信息,请参阅 开发者文档)。自定义字段是通过向内容类型或组件添加新类型的字段来扩展 Strapi 功能的一种方式。

¥Some plugins can add custom fields to Strapi (for additional information about creating custom fields plugins, see Developer Docs). Custom fields are a way to extend Strapi’s capabilities by adding new types of fields to content-types or components.

添加到 Strapi 后(请参阅 市场),可以在 内容类型生成器 中创建自定义字段并在 内容管理者 中使用。

¥Once added to Strapi (see Marketplace), custom fields can be created in the Content-type Builder and used in the Content Manager.