nicht nutzbarer stand, header menü ist nicht intertia initialisiert. aber schick. codex änderungen noch enthalten.

This commit is contained in:
Codex Agent
2025-10-06 13:46:29 +02:00
parent d70faf7a9d
commit 5ee510b05d
29 changed files with 493 additions and 784 deletions

View File

@@ -26,6 +26,11 @@ createInertiaApp({
setup({ el, App, props }) {
const root = createRoot(el);
// Sync i18n with initial locale from props
if (props.initialPage && props.initialPage.props && props.initialPage.props.locale) {
i18n.changeLanguage(props.initialPage.props.locale);
}
root.render(
<I18nextProvider i18n={i18n}>
<App {...props} />