Learn Nuxt with a Collection of 100+ Tips!
View Tips
v3.17
  • Docs
  • Integrations
  • Resources
  • Enterprise
  • Blog
Nuxt on GitHub
  • Get Started
  • Guide
  • API
  • Examples
  • Community
  • Hello World
    • Middleware
    • Pages
    • Universal Router
  1. Docs
  2. Examples
  3. Routing

Pages

This example shows how to use the pages/ directory to create application routes.
Read more in Docs > Guide > Directory Structure > Pages.
Loading Sandbox...
Report an issue or Edit this page on GitHub

Middleware

This example shows how to add route middleware with the middleware/ directory or with a plugin, and how to use them globally or per page.

Universal Router

This example demonstrates Nuxt universal routing utilities without depending on `pages/` and `vue-router`.

Community

  • Nuxters
  • Team
  • Design Kit

Products

  • Nuxt UI Pro
  • Nuxt Studio
  • NuxtHub

Enterprise

  • Support
  • Agencies
  • Sponsors

Stay updated on new releases and features, guides, and community updates.

Nuxt on XNuxt on BlueSkyNuxt on LinkedInNuxt on DiscordNuxt on GitHub

Copyright © 2016-2025 Nuxt - MIT License