first commit

This commit is contained in:
brusnitsyn
2025-11-30 23:04:45 +09:00
commit c9a392f84f
76 changed files with 15085 additions and 0 deletions

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

@@ -0,0 +1,21 @@
import './bootstrap';
import '../css/app.css';
import { createApp, h } from 'vue'
import { createInertiaApp } from '@inertiajs/vue3'
import {createPinia} from "pinia";
createInertiaApp({
id: 'kartoteka',
resolve: name => {
const pages = import.meta.glob('./Pages/**/*.vue', { eager: true })
return pages[`./Pages/${name}.vue`]
},
setup({ el, App, props, plugin }) {
const pinia = createPinia()
createApp({ render: () => h(App, props) })
.use(plugin)
.use(pinia)
.mount(el)
},
})