Nuxt/docs/content/4.examples/5.server/routes.md

16 lines
389 B
Markdown

---
title: "Server Routes"
description: "This example shows how to create server routes inside the server/api directory."
toc: false
---
# Server Routes
This example shows how to create server routes inside the `server/api` directory.
::ReadMore{link="/guide/directory-structure/server"}
::
::sandbox{repo="nuxt/framework" branch="main" dir="examples/server/routes" file="app.vue"}
::