ui_migration refactor(store) change store loading order
This commit is contained in:
parent
ed158a0b60
commit
694a5a690f
1 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,6 @@ import { createApp } from "vue";
|
|||
import { createPinia } from "pinia";
|
||||
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
|
||||
import App from "./App.vue";
|
||||
import store from "./store";
|
||||
import UIkit from "uikit";
|
||||
|
||||
// Import MD icons
|
||||
|
|
@ -26,10 +25,11 @@ const app = createApp(App);
|
|||
const pinia = createPinia();
|
||||
pinia.use(piniaPluginPersistedstate);
|
||||
|
||||
// Use Pinia
|
||||
app.use(pinia);
|
||||
|
||||
// Use global mixins
|
||||
app.mixin(modalMixin);
|
||||
app.mixin(labThingsMixins);
|
||||
|
||||
// Use Vuex store
|
||||
app.use(pinia);
|
||||
app.mount("#app");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue