Pages
Articles
The /articles and /articles/:slug routes — blog/editorial listing and individual article detail pages powered by Nuxt Content v3.
Articles
The articles section provides a blog/editorial listing at /articles and individual article detail pages at /articles/:slug. Both routes are powered by Nuxt Content v3 markdown files.
Routes
| Route | Description |
|---|---|
/articles | Paginated listing of all articles with category and tag filters. |
/articles/:slug | Full article detail with body content, author, date, and related articles. |
Components Used
Article UI is composed from shared marketing components inherited from the nuxt-x-marketing layer extension. The XRDHomePageLatestStories component on the homepage links to these pages.
Data Fetching
Both routes use Nuxt Content v3:
/articles—queryCollection('articles')with optional filter/sort parameters derived from route query./articles/:slug—queryCollection('articles').where('slug', slug)(or path-based query) to fetch the full article body, then a secondary query for related articles.
No API calls to useDomain() are made on these routes; all content is file-system driven.
AI Context
route: /articles
package: "@xenterprises/nuxt-x-restaurants"
use-when: >
Rendering the articles listing page or an individual article detail page.
Content is sourced entirely from Nuxt Content v3 markdown files — no
restaurant API calls are involved. Link to these pages from
XRDHomePageLatestStories or the navbar.
