16 lines
430 B
JavaScript
16 lines
430 B
JavaScript
import { createApp, h } from 'vue'
|
|
import { InertiaProgress } from '@inertiajs/progress'
|
|
import { createInertiaApp } from '@inertiajs/inertia-vue3'
|
|
|
|
InertiaProgress.init()
|
|
|
|
createInertiaApp({
|
|
resolve: name => require(`./Pages/${name}`),
|
|
title: title => title ? `${title} - Ping CRM` : 'Ping CRM',
|
|
setup({ el, App, props, plugin }) {
|
|
createApp({ render: () => h(App, props) })
|
|
.use(plugin)
|
|
.mount(el)
|
|
},
|
|
})
|