mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
docs: added a note about server dynamic routes limitation (#21919)
This commit is contained in:
parent
b0daaa8cbb
commit
ddb02f6486
@ -56,6 +56,10 @@ export default defineEventHandler(() => 'Hello World!')
|
||||
|
||||
Given the example above, the `/hello` route will be accessible at <http://localhost:3000/hello>.
|
||||
|
||||
::alert{type=info icon=💡}
|
||||
Note that currently server routes do not support the full functionality of dynamic routes as [pages](https://nuxt.com/docs/guide/directory-structure/pages#dynamic-routes) do.
|
||||
::
|
||||
|
||||
## Server Middleware
|
||||
|
||||
Nuxt will automatically read in any file in the `~/server/middleware` to create server middleware for your project.
|
||||
|
Loading…
Reference in New Issue
Block a user