VueJS: Vue Router Change Page

Paulund is full of premium tutorials and support to help with your development

Sign up to get full access to all tutorials.

Get Started

Login to your account

Sometimes while you're developing you find situations where you need to redirect to a different page or go back to the last page. For example you could have a form that allows you to delete a record and on a successful delete you're redirected back a page to see the full list of the records. Using the Vue Router object you're able to navigate to any URL or navigate the history of your application, this is done by using the router.push( path ). This is the same as using the router-link tag and the user clicking . . .

Get Started