日本語

Docs Directory Placement

Nuxt Content collection placement in the Nuxt UI template.

Docs Directory Placement

The official template stores Markdown in project-root content/, not in a literal docs/ directory. This sample keeps that convention and adds content/en/ and content/ja/ beneath it.

content.config.ts defines the source glob, so an application can point a collection at another relative location. Routing is still application code in app/pages/[...slug].vue; the physical directory name does not have to become part of the URL.