Home

Issue: 1730

How to add middleware from module ?

[issue link]

Hello,

How can I add a middleware from a module ?
I see that I can use addServerMiddleware to add a server middleware but in my case I’ve to add a middleware accessible from both server and client.

Thanks,
Gaël

This question is available on Nuxt.js community (#c1552)