diff --git a/src/pages/workbench/index.tsx b/src/pages/workbench/index.tsx index 7e54d8e..e7abf4a 100644 --- a/src/pages/workbench/index.tsx +++ b/src/pages/workbench/index.tsx @@ -1,4 +1,4 @@ -import { defineComponent } from 'vue' +import { App, defineComponent } from 'vue' import { useI18n } from 'vue-i18n' const Workbench = defineComponent({ @@ -11,4 +11,9 @@ const Workbench = defineComponent({ } }) +Workbench.install = function (app: App) { + app.component(Workbench.name, Workbench) + return app +} + export default Workbench