I am learning about Nuxt 3 at the moment and currently focus on things that I knew how to handle in Nuxt 2 and for which I did not yet find a (similar, simple) solution in Nuxt 3.
One of those things are anonymous middlewares. How can I build those in Nuxt 3 / what is the closest thing in Nuxt 3 that can be used to get the same functionallity? Do I really have to call an API endpoint? This seems so overkill compared to Nuxt 2.