Home

Issue: 1738

wish: defining middleware functions in component

[issue link]

It’s not too hard to create a middleware file but I would love it if middleware methods can be defined inline in the page components! Just my wish.

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