vue js sebelumnya bukan fungsi
const router = new Router({
...
})
router.beforeEach( ... )
export default router
Codemaster
const router = new Router({
...
})
router.beforeEach( ... )
export default router