Vue mengarahkan ke rute
// Use this in a lifecycle method
this.$router.push('/login');
garzj
// Use this in a lifecycle method
this.$router.push('/login');
this.$router.push({ name: 'routename' })