chore: Refactor client plugin management (#7053)

* Update clientside plugin management to work as server

* docs

* tsc

* Rebase main
This commit is contained in:
Tom Moor
2024-06-16 11:11:26 -04:00
committed by GitHub
parent a9f1086422
commit 3d0160463c
17 changed files with 331 additions and 108 deletions

View File

@@ -0,0 +1,11 @@
import { Hook, PluginManager } from "~/utils/PluginManager";
import config from "../plugin.json";
import Icon from "./Icon";
PluginManager.add([
{
...config,
type: Hook.Icon,
value: Icon,
},
]);