15 lines
381 B
JavaScript
15 lines
381 B
JavaScript
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)
|
|
},
|
|
});
|
|
|
|
InertiaProgress.init()
|