14 lines
380 B
JavaScript
14 lines
380 B
JavaScript
import '../css/app.css'
|
|
import { createApp, h } from "vue";
|
|
import { createInertiaApp, Link } from "@inertiajs/vue3";
|
|
import '../css/app.css'
|
|
|
|
createInertiaApp({
|
|
resolve: (name) => require(`./pages/${name}`),
|
|
setup({ el, App, props, plugin }) {
|
|
createApp({ render: () => h(App, props) })
|
|
.use(plugin)
|
|
.component('inertia-link', Link)
|
|
.mount(el);
|
|
},
|
|
}); |