All checks were successful
Test Asgard Runner / test (push) Successful in 3s
VueFinder requires app.use(VueFinderPlugin) to provide its internal context (i18n, features, config stores). Without plugin registration, the store returned null during setup, causing Object.keys to throw TypeError on undefined. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
468 B
TypeScript
21 lines
468 B
TypeScript
import { createApp } from 'vue'
|
|
import { createPinia } from 'pinia'
|
|
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
|
|
|
|
import { VueFinderPlugin } from 'vuefinder'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import './style.css'
|
|
import 'vuefinder/dist/vuefinder.css'
|
|
|
|
const app = createApp(App)
|
|
|
|
const pinia = createPinia()
|
|
pinia.use(piniaPluginPersistedstate)
|
|
|
|
app.use(pinia)
|
|
app.use(router)
|
|
app.use(VueFinderPlugin)
|
|
|
|
app.mount('#app')
|