reverted back from vue typescript to javascript to fix bad performance...

This commit is contained in:
Sockenklaus
2023-07-10 23:05:49 +02:00
parent 7f33499459
commit 3534b9fb8d
16 changed files with 593 additions and 346 deletions

13
resources/js/app.js Normal file
View File

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