You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I use the prefix strategy in my project and I'm wondering how the custom paths should be setup.
Do I need to add the prefixes in my custom paths like
nuxtI18n: {paths: {en: '/en/profile',// or just '/profile' or without pre slash?de: '/de/profil',// or just '/profil'}}
And the other questions is for subroutes like profile/settings.vue that actually contains sub-routes like:
Do I always need to supply the full path here? So let's say in the contact.vue:
nuxtI18n: {paths: {en: '/en/profile/settings/contact',// or just '/contact' or without pre slash?de: '/de/profil/einstellungen/kontakt',// or just '/kontakt'}}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I use the prefix strategy in my project and I'm wondering how the custom paths should be setup.
Do I need to add the prefixes in my custom paths like
And the other questions is for subroutes like
profile/settings.vue
that actually contains sub-routes like:Do I always need to supply the full path here? So let's say in the
contact.vue
:because in the
settings.vue
I would already have:Thx for help.
BR, Gabo
Beta Was this translation helpful? Give feedback.
All reactions