---
title: "通用路由器"
description: "此示例展示了 Nuxt 的通用路由工具，而不依赖于 `pages/` 和 `vue-router`。"
canonical_url: "https://nuxt.zhcndoc.com/docs/examples/routing/universal-router"
---
# 通用路由器

> 此示例展示了 Nuxt 的通用路由工具，而不依赖于 \`pages/\` 和 \`vue-router\`。

::code-explorer{path="examples/routing/universal-router" default-value="plugins/add.ts"}
::

::browser{src="https://universal-router.example.nuxt.space"}
::

---

- [Source](https://github.com/nuxt/examples/tree/main/examples/routing/universal-router)


## Sitemap

See the full [sitemap](https://nuxt.zhcndoc.com/sitemap.md) for all pages.
