mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 00:18:51 +08:00
perf: 页面初始化时先加载pinia
再加载router
,兼容更多使用场景 (#649)
This commit is contained in:
parent
3afafa6f61
commit
d27c0623c5
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user