create dashboard layout
This commit is contained in:
@@ -6,6 +6,7 @@ import { createInertiaApp } from '@inertiajs/inertia-vue3';
|
||||
import { InertiaProgress } from '@inertiajs/progress';
|
||||
import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers';
|
||||
import { ZiggyVue } from '../../vendor/tightenco/ziggy/dist/vue.m';
|
||||
import Themes from './themes'
|
||||
|
||||
const appName = window.document.getElementsByTagName('title')[0]?.innerText || 'Laravel';
|
||||
|
||||
@@ -16,6 +17,11 @@ createInertiaApp({
|
||||
return createApp({ render: () => h(app, props) })
|
||||
.use(plugin)
|
||||
.use(ZiggyVue, Ziggy)
|
||||
.mixin({
|
||||
methods: {
|
||||
themes: () => Themes,
|
||||
},
|
||||
})
|
||||
.mount(el);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user