Renderer Class

This class is exporting a connect middleware which handles and serves all SSR and asset requests.


We can register hooks on certain life cycle events.

Hook Arguments When
render:before description missing
render:setupMiddleware connect instance (app) Before Nuxt adds it's middleware stack. We can use it to register custom server side middleware
render:resourcesLoaded description missing
render:errorMiddleware connect instance (app) Call your own middleware before using Nuxt's. See the Sentry module for more info.
render:route description missing
render:done renderer SSR Middleware and all resources are ready

Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!