This commit is contained in:
ct
2025-07-15 07:35:25 +08:00
parent ce4a7c76f3
commit 1cb695ff5c
18 changed files with 58 additions and 25 deletions

View File

@@ -14,7 +14,6 @@ import { MittProvider } from './plugins/MittContext';
const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
createInertiaApp({
title: (title) => `${title} - ${appName}`,
resolve: (name) => resolvePageComponent(`./pages/${name}.tsx`, import.meta.glob('./pages/**/*.tsx')),
setup({ el, App, props }) {
const root = createRoot(el);