This commit is contained in:
Adrian Hopek
2022-01-11 12:50:09 +01:00
parent 160ce40f82
commit 108f3d9103
7 changed files with 1334 additions and 106 deletions

View File

@@ -1,14 +1,14 @@
import {createApp, h} from 'vue'
import {createInertiaApp} from '@inertiajs/inertia-vue3'
import {InertiaProgress} from '@inertiajs/progress'
import {createApp, h} from 'vue';
import {createInertiaApp} from '@inertiajs/inertia-vue3';
import {InertiaProgress} from '@inertiajs/progress';
createInertiaApp({
resolve: name => require(`./Pages/${name}`),
setup({el, App, props, plugin}) {
createApp({render: () => h(App, props)})
.use(plugin)
.mount(el)
.mount(el);
},
});
InertiaProgress.init()
InertiaProgress.init();