Configuring a middleware with Vue Router
3 min readJul 23, 2018
A middleware is an old and powerful concept that we have in software development, it is really useful when we have routing related patterns in our applications.
If you’re not sure about the meaning of middleware, there is a Simple Explanation of Express Middleware that can help you to learn more about how them work (at least in Express and Node, but the concept is the same).