© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Nitro: How do I pass data in a middleware to route handlers? - Nuxt
N
Nuxt
•
2y ago
•
2 replies
Gyen Abubakar
Nitro: How do I pass data in a middleware to route handlers?
In Express
, you can do this attaching data to the
response.locals
response.locals
object
. How do I do this in Nitro
?
Similar Threads
Way to pass data between route middleware and page
N
Nuxt / ❓・help
15mo ago
How do you add a middleware to nitro.routeRules in defineNuxtConfig?
N
Nuxt / ❓・help
13mo ago
How do I pass a variable from the middleware to my page?
N
Nuxt / ❓・help
2y ago
How to pass data from middleware to the redirected page
N
Nuxt / ❓・help
2y ago