Nuxt 4.0正式发布
查看公告
v4.0v4 (4.0.0)
  • 文档
  • 集成
  • 资源
  • 企业
  • 博客
  • 英文官网
  • 加入社区QQ群
Nuxt on GitHub
  • 开始使用
  • 指南
  • API
  • 示例
  • 社区
  • 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.
阅读更多 Docs > Guide > Directory Structure > Pages.
Loading Sandbox...
Was this helpful?
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

  • Become a Sponsor
  • Master Nuxt
  • Nuxt Certification
Nuxt on DiscordNuxt on BlueskyNuxt on XNuxt on GitHub
猫目社区

一站式AI分享平台

社区

  • Nuxters
  • 团队
  • 设计工具

产品

  • Nuxt UI Pro
  • Nuxt Studio
  • NuxtHub

企业

  • 支持
  • 机构
  • 赞助商

保持最新的新版本和功能,指南和社区更新。

Nuxt on XNuxt on BlueSkyNuxt on LinkedInNuxt on DiscordNuxt on GitHub

ICP备案:沪ICP备2021013479号-10 Copyright © 2016-2025 Nuxt - MIT License