Nuxt/docs/4.examples/4.routing/middleware.md
Sébastien Chopin 3ec108493d
docs: simplify the docs directory (#18506)
* docs: simplify docs to only markdown

* Create nuxt-config.md

* chore: update

* chore: add readme
2023-01-25 10:41:41 +01:00

14 lines
333 B
Markdown

---
toc: false
---
# 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.
::ReadMore{link="/docs/guide/directory-structure/middleware"}
::
::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/routing/middleware" file="app.vue"}
::