启用pinia

This commit is contained in:
05412 2024-07-30 10:16:07 +08:00
parent bd7022339c
commit b8ecd09a22

View File

@ -4,7 +4,7 @@ import 'vuetify/styles'
import {router} from "./router.ts";
import App from "./App.vue";
import {createVuetify} from "vuetify";
import {createPinia} from "pinia";
import {createPinia, Pinia} from "pinia";
const vuetify = createVuetify({
icons: {
@ -16,7 +16,7 @@ const vuetify = createVuetify({
}
}
})
const pinia = createPinia()
const pinia: Pinia = createPinia()
createApp(App)
.use(router)
.use(vuetify)