Skip to content

docs: clarify index.vue placement for i18n setup - #1373

Merged
larbish merged 3 commits into
nuxt-content:mainfrom
FabianRzepka:patch-2
May 22, 2026
Merged

larbish merged 3 commits into
nuxt-content:mainfrom
FabianRzepka:patch-2

Conversation

@FabianRzepka

@FabianRzepka FabianRzepka commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

Clarify placement of index.vue for routing in Nuxt in i18n version.

For i18n versions, you need to add the [[lang]] prefix; otherwise, you'll get a 404 error.
app/pages/[[lang]]/index.vue

image

Fix:

Since Docus is a layer, it allows you to fully customize your landing page by creating a Vue page at app/pages/index.vue (or app/pages/[[lang]]/index.vue for i18n setups). This gives you full control with Vue components, custom layouts, and advanced interactions.

Added note about placing index.vue for automatic detection.
@vercel

vercel Bot commented May 21, 2026

Copy link
Copy Markdown

@FabianRzepka is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

Clarified instructions for creating a Vue landing page with i18n support.
@FabianRzepka FabianRzepka changed the title Update documentation for index.vue placement in i18n version. docs: clarify index.vue placement for i18n setup May 22, 2026

@larbish larbish left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 💚

@larbish
larbish merged commit b73d6d5 into nuxt-content:main May 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants