user router.beforeEach next('/login') throw Unexpected error when starting the router: Error: No match for undefined · Issue #365 · vuejs/router · GitHub
vue-routerでログインしていない場合はログインページに戻す処理 - Qiita
Vue Router Protection. This article will explain, how can we… | by Achsuthan Mahendran | Medium
React and Vue Syntax Comparison Side by Side Part2: Router - DEV Community