add pinia and a tmp global stores

This commit is contained in:
Gator
2022-12-02 15:53:49 +01:00
parent 239be6204e
commit 5972f9e868
5 changed files with 179 additions and 44 deletions

View File

@ -1,9 +1,12 @@
import { createApp } from "vue";
import App from "./App.vue";
import { store } from "./store";
import { createPinia } from "pinia";
const app = createApp(App);
const pinia = createPinia();
app.use(store);
app.use(pinia);
app.mount("#app");