feat: improve store typing

This commit is contained in:
Dominik Pschenitschni 2022-07-21 18:45:58 +02:00
parent a6b96f857d
commit 244478400a
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
60 changed files with 239 additions and 192 deletions

View file

@ -14,7 +14,7 @@ import Notifications from '@kyvg/vue3-notification'
import './registerServiceWorker'
// Vuex
import {store} from './store'
import { store, key } from './store'
// i18n
import {i18n} from './i18n'
@ -104,7 +104,7 @@ if (window.SENTRY_ENABLED) {
import('./sentry').then(sentry => sentry.default(app, router))
}
app.use(store)
app.use(store, key) // pass the injection key
app.use(router)
app.use(i18n)