Answers for "vue router redirect and push data"

5

vue redirect to route

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

vue router push

//Syntax - this.$router.push(path);
this.$router.push("/path");
Posted by: Guest on May-11-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language