N
Nuxt2y ago
K1nggor

Nuxt 3 server directory and server middlewares

Is there an example, a tutorial or a documentation on how server middlewares work in detail? I have read the nuxt 3 server directory documentation countless times but it doesn't really dive into the descriptions of the possibilities. Is it possible to run middlewares only on certain routes. How can we chain middlewares ? If we can chain them, how do we manage to order them. Most of the packages out there for server side in nodejs work with express. Will we have the same packages (oauth2orize for example) in nuxt server directory or a compatibility module handling the usage of express plugins?
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
K1nggor
K1nggor2y ago
Those are client middlewares. They are different from server middlewares 😢