From d27c0623c52156cc51a8b80a549ab8dec2e72027 Mon Sep 17 00:00:00 2001 From: hu <13638682603@163.com> Date: Wed, 19 Jul 2023 00:09:22 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E9=A1=B5=E9=9D=A2=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E6=97=B6=E5=85=88=E5=8A=A0=E8=BD=BD`pinia`=E5=86=8D?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD`router`=EF=BC=8C=E5=85=BC=E5=AE=B9=E6=9B=B4?= =?UTF-8?q?=E5=A4=9A=E4=BD=BF=E7=94=A8=E5=9C=BA=E6=99=AF=20(#649)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index d924bf625..e365fae2e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -46,10 +46,10 @@ import { Auth } from "@/components/ReAuth"; app.component("Auth", Auth); getServerConfig(app).then(async config => { + setupStore(app); app.use(router); await router.isReady(); injectResponsiveStorage(app, config); - setupStore(app); app .use(MotionPlugin) .use(useI18n)