Vue przekierowani do trasy
// 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' })