Après chaque routeur Vue

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