Home

Issue: 1884

Facing difficulties with nuxt routing and i18n

[issue link]

Hi there!
I’d like my generated routes to be:

/
/:category
/:category/:slug
/en/
/en/:category
/en/:category/:slug

The problem is that :category overrides /en, so when I visit “http://localhost:3000/en” the _category.vue is used instead of index.vue.
It seems logical afterwards…but how can I avoid this?
What should be my pages folder structure to achieve the result above ? (Nuxt i18n example shows only static routes config)
Thx

This question is available on Nuxt.js community (#c1690)