mirror of
https://github.com/outline/outline.git
synced 2026-11-25 15:15:15 +03:00
Update clientside plugin management to work as server
This commit is contained in:
1 parent
a9f1086422
commit
f4e2c2de77
15 files changed
+272
-94
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import * as React from "react";
|
||||
import { Hook, PluginManager } from "~/utils/PluginManager";
|
||||
import config from "../plugin.json";
|
||||
import Icon from "./Icon";
|
||||
|
||||
export default PluginManager.add([
|
||||
{
|
||||
...config,
|
||||
type: Hook.Settings,
|
||||
value: {
|
||||
group: "Integrations",
|
||||
icon: Icon,
|
||||
component: React.lazy(() => import("./Settings")),
|
||||
},
|
||||
},
|
||||
]);
|
||||
Reference in new issue
Block a user