启用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 {router} from "./router.ts";
import App from "./App.vue"; import App from "./App.vue";
import {createVuetify} from "vuetify"; import {createVuetify} from "vuetify";
import {createPinia} from "pinia"; import {createPinia, Pinia} from "pinia";
const vuetify = createVuetify({ const vuetify = createVuetify({
icons: { icons: {
@ -16,7 +16,7 @@ const vuetify = createVuetify({
} }
} }
}) })
const pinia = createPinia() const pinia: Pinia = createPinia()
createApp(App) createApp(App)
.use(router) .use(router)
.use(vuetify) .use(vuetify)