Minimal Viable Product + Refactor to pinia store + Fix PDF export
This commit is contained in:
@@ -6,6 +6,7 @@ import type { DefineComponent } from 'vue';
|
||||
import { createApp, h } from 'vue';
|
||||
import { ZiggyVue } from 'ziggy-js';
|
||||
import { initializeTheme } from './composables/useAppearance';
|
||||
import pinia from './lib/pinia';
|
||||
|
||||
const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
|
||||
|
||||
@@ -15,6 +16,7 @@ createInertiaApp({
|
||||
setup({ el, App, props, plugin }) {
|
||||
createApp({ render: () => h(App, props) })
|
||||
.use(plugin)
|
||||
.use(pinia)
|
||||
.use(ZiggyVue)
|
||||
.mount(el);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user