Strapi 插件
¥Strapi plugins
本节介绍 Strapi 插件面向开发者的方面。要了解如何从 Strapi 管理面板安装和使用插件,请阅读 用户指南。
¥The present section is about the developer-oriented aspects of Strapi plugins. To learn how to install and use plugins from the Strapi admin panel, please read the User Guide.
Strapi 的核心功能可以通过插件进行扩展,你对 Strapi 插件的体验将属于以下 4 个用例:
¥Strapi's core features can be extended with plugins, and your experience with Strapi plugins will fall under the following 4 use cases:
你将使用 Strapi 官方维护的内置插件之一。当你创建新的 Strapi 项目时,一些内置插件已经可以预安装。
¥You will use one of the built-in plugins officially maintained by Strapi. Some built-in plugins can already be pre-installed when you create a new Strapi project.
你可能想浏览第 3 方插件以获取其他功能。可以从管理面板或 市场网站 浏览第 3 方插件,并使用命令行接口安装。
¥You might want to browse 3rd-party plugins for additional features. 3rd-party plugins can be browsed from the admin panel or from the Marketplace website and installed with the command line interface.
你可能想开发自己的插件。你开发的插件可以特定于你的 Strapi 项目 - 这些插件称为 "本地插件",或者如果要与 Strapi 社区共享,也可以提交到 Marketplace。
¥You might want to develop your own plugins. The plugins you develop can be specific to your Strapi project — these plugins are called "local plugins", or can be submitted to the Marketplace if meant to be shared with the Strapi community.
你可能想要为特定 Strapi 项目扩展现有插件。对于最后一个用例,请小心继续,因为插件维护者的未来更新可能会破坏扩展。
¥You might want to extend an existing plugin for a specific Strapi project. With this last use case, please proceed carefully, knowing that extensions might break with future updates from the plugin maintainer.
根据你的个人资料和用例,从表中选择以下文档部分之一:
¥Choose one of the following documentation sections from the table, depending on your profile and use case:
作为一个… | 我想要… | 推荐阅读的部分 |
---|---|---|
用户 | 发现并安装内置插件和第三方插件 | 用户指南 > 插件 |
开发商 | 设置、配置和使用 Strapi 内置插件 | 开发文档 > 使用插件 |
开发商 | 创建我自己的插件并将其提交到市场 | 开发文档 > 开发插件 |
开发商 | 扩展现有插件以针对特定 Strapi 项目进行自定义️ | 开发文档 > 扩展插件 |
在浏览或创建插件之前,请仔细检查 Strapi 是否已经用其内置的 高级功能 覆盖了你的用例。如果你希望在核心 Strapi 产品中包含一些其他功能,请随时使用 提交反馈。
¥Before browsing or creating plugins, please double-check that Strapi does not already cover your use case with its built-in advanced features. Feel free to submit feedback if you'd like some additional features to be included in the core Strapi product.