seitentitel verbessert

This commit is contained in:
2025-12-07 21:57:47 +01:00
parent bc353fa2c2
commit 6f6ea8b24f
2 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ library.add(
faDownload,
);
const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
const appName = import.meta.env.VITE_APP_NAME || 'Style Gallery';
const resolveTranslation = (source, path) => {
if (!source || !path) {
@@ -59,7 +59,7 @@ const resolveTranslation = (source, path) => {
};
createInertiaApp({
title: (title) => `${title} - ${appName}`,
title: (title) => title || appName,
resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue')),
setup({ el, App, props, plugin }) {
console.log('Inertia Page Props (app.js):', props.initialPage.props);