Answers for "redirect in vue"

5

vue redirect to route

// Use this in a lifecycle method
this.$router.push('/login');
Posted by: Guest on July-20-2020
0

redirect in vue

this.$router.push({ name: 'routename' })
Posted by: Guest on July-26-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language