Vue redirige vers la route
// 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' })