'Ignore locale prefix for specific route in nuxt-i18n module

For all pages, I need the locale prefix. But for the profile page, I want to ignore it.

All pages except profile
/{en|da|sv}/path

Profile page
/peter.hansen

I select prefix strategies at nuxt-i18n configuration option. Is there any solution for that?



Solution 1:[1]

Thats a late answer but incase someone come looking at this. Just follow : https://i18n.nuxtjs.org/ignoring-localized-routes by adding

//pages/about.vue
export default {
  nuxtI18n: false
}

and

//nuxt.config.js
i18n: {
  parsePages: false,
  pages: {
    about: false
  }
}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Madian Malfi