From c9f53f21f341bf119c4009115c94375a2aaa39d8 Mon Sep 17 00:00:00 2001 From: Cezar Craciun Date: Wed, 23 Mar 2022 11:40:37 +0200 Subject: [PATCH] fix(ui): router plugin in ui (#1007) --- packages/ui/client/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/client/main.ts b/packages/ui/client/main.ts index 667af79307b6..474b5e35e127 100644 --- a/packages/ui/client/main.ts +++ b/packages/ui/client/main.ts @@ -1,11 +1,11 @@ import { createApp } from 'vue' -import { directives, plugins } from './global-setup' import App from './App.vue' +import { directives, plugins } from './global-setup' const app = createApp(App) plugins.forEach((plugin) => { - app.use(plugin) + app.use(plugin()) }) Object.entries(directives).forEach(([name, directive]) => {