1
0

Setting up basic application structure
Some checks failed
My Actions / Explore (push) Has been cancelled

This commit is contained in:
2024-11-04 21:41:33 +01:00
parent 1a5a4f3ec9
commit 1cd303824d
15 changed files with 204 additions and 35 deletions

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

@@ -0,0 +1,13 @@
import { createApp, h } from 'vue'
import { createInertiaApp } from '@inertiajs/vue3'
createInertiaApp({
resolve: name => require(`./Pages/${name}.vue`),
setup({ el, App, props, plugin }) {
createApp( { render: () => h(App, props)})
.use(plugin)
.mount(el)
},
})