nuxt-content-i18n

2
0
2
Vue
public

Nuxt Content + Nuxt i18n + Nuxt Studio

Example on how to use Nuxt Content with Nuxt i18n and Nuxt Studio.

Features:

  • Locale switching
  • Translatable slugs

Example routes:

  • index.vue
    • Static path without translated slug
  • some-page.vue
    • Static path with translated slug
    • Content is missing for locale it, should fallback to en
  • blog/index.vue
    • Static path without translated slug
    • Second content query
    • Content is missing for locale it, should fallback to en
  • blog/[slug].vue
    • Dynamic path with translated slug
    • Content is missing for locale it, should fallback to en

Todos (Nuxt Content)

Todos (Nuxt Studio)

  • Does not work with static pages, e.g. /de -> navigates to /mainpage
  • Does not work with static pages with translated slugs, e.g. /de/eine-seite -> navigates to /some-page
v0.3.3[beta]