Add pinia-logger
This commit is contained in:
@ -7,10 +7,14 @@ import { useBudgetsStore } from './stores/budget';
|
||||
import { useSessionStore } from './stores/session';
|
||||
import { useSettingsStore } from './stores/settings';
|
||||
import { useAccountStore } from './stores/budget-account'
|
||||
import PiniaLogger from './pinia-logger'
|
||||
|
||||
const app = createApp(App)
|
||||
app.use(router)
|
||||
app.use(createPinia())
|
||||
|
||||
const pinia = createPinia()
|
||||
pinia.use(PiniaLogger())
|
||||
app.use(pinia)
|
||||
app.mount('#app')
|
||||
|
||||
router.beforeEach(async (to, from, next) => {
|
||||
|
Reference in New Issue
Block a user