Nach jedem Vue -Router

router.afterEach(function(to , from ){
    console.log(to , from)
})
Mohamad