mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
dc47c64f14
Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: Sébastien Chopin <seb@nuxtjs.com> Co-authored-by: Pooya Parsa <pooya@pi0.io> Co-authored-by: pooya parsa <pyapar@gmail.com> Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
16 lines
389 B
Markdown
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"}
|
|
::
|