seitentitel verbessert
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user