Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@discuzq/plugin-center

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discuzq/plugin-center

> TODO: description

npmnpm
Version
2.0.13
Version published
Weekly downloads
14
-82.72%
Maintainers
2
Weekly downloads
 
Created
Source

插件开发

随着Discuz !Q的使用用户越来越广泛,每个站点都会有它一定的特殊性和定制性,为了丰富Discuz !Q的功能以及多样性,Discuz !Q官方提供插件体系,可以让开发者对特定的场景进行深入的定制,满足各种各样的场景和需求。

目前插件只支持本地插件重新编译才能生效,后续会逐步提供以下能力:

  • web端插件热插拔
  • 管理后台插件配置界面
  • 标准插件模板生成工具
  • 自定义插件目录位置

后续可能会改动的内容:

  • 插件文件目录规范

环境要求

当前项目依赖必须满足以下条件

  • @discuzq/cli版本必须 >= 1.1.6
  • @discuzq/discuz-plugin-loader版本必须 >= 1.0.3

开发环境

  • node版本建议使用14.x的版本
  • 系统建议使用win10或mac进行开发
  • 插件组件开发
    • feStart - 插件架构
    • feMain - 插件入口文件
    • feAdapter - 多端适配器
    • store - 插件数据存储
    • connect - 插件数据通信
    • feSample - 开始做一个插件
    • pagePlugin - 页面插件开发
  • 插件接口开发
  • 页面标识列表
  • 页面标识列表

FAQs

Package last updated on 10 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts