mirror of https://github.com/halo-dev/halo-admin
![]() #### What type of PR is this? /kind improvement /milestone 2.0 #### What this PR does / why we need it: 重构 Console 端插件扩展点的定义方式。现在需要如下定义: ```ts extensionPoints: { "page:functional:create": () => { return [ { name: "链接", url: "/links", path: "/pages/functional/links", permissions: ["plugin:links:view"], }, ]; }, }, ``` #### Special notes for your reviewer: 可以用以下插件进行测试: - https://github.com/halo-sigs/plugin-links - https://github.com/halo-sigs/plugin-unsplash #### Does this PR introduce a user-facing change? ```release-note None ``` |
||
---|---|---|
.. | ||
components | ||
core | ||
states | ||
types | ||
index.ts |