pingcrm/resources/js/app.js

16 lines
430 B
JavaScript
Raw Normal View History

2021-12-08 12:15:39 -03:00
import { createApp, h } from 'vue'
import { InertiaProgress } from '@inertiajs/progress'
2021-12-08 12:15:39 -03:00
import { createInertiaApp } from '@inertiajs/inertia-vue3'
2019-03-18 08:53:00 -03:00
2020-09-24 12:37:26 -03:00
InertiaProgress.init()
createInertiaApp({
resolve: name => require(`./Pages/${name}`),
2022-01-18 15:22:59 -03:00
title: title => title ? `${title} - Ping CRM` : 'Ping CRM',
2021-12-08 12:15:39 -03:00
setup({ el, App, props, plugin }) {
2021-12-08 14:40:19 -03:00
createApp({ render: () => h(App, props) })
2021-12-08 12:15:39 -03:00
.use(plugin)
.mount(el)
},
})