Return values instead of calling next in router guards
Closes #1087 (closed)
Unfortunately, we have to keep the next
callable in beforeRouteEnter
in order to manipulate component's data once the route is confirmed : https://router.vuejs.org/guide/advanced/navigation-guards.html#using-the-options-api.