21 lines
610 B
JavaScript
21 lines
610 B
JavaScript
import '../../css/admin/app.css'
|
|
|
|
import { createApp, h } from 'vue'
|
|
import { createInertiaApp } from '@inertiajs/vue3'
|
|
import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers'
|
|
import { ZiggyVue } from 'ziggy-js'
|
|
import Antd from 'ant-design-vue'
|
|
|
|
import './iconify'
|
|
|
|
createInertiaApp({
|
|
resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue')),
|
|
setup({ el, App, props, plugin }) {
|
|
createApp({ render: () => h(App, props) })
|
|
.use(plugin)
|
|
.use(ZiggyVue)
|
|
.use(Antd)
|
|
.mount(el)
|
|
},
|
|
})
|