Question · Vue.js course · Module 10: Vue Router
Redirect in Routes
How do you configure a redirect from one route to another?
Answer options
- { path: '/old', goto: '/new' }
- { path: '/old', forward: '/new' }
- { path: '/old', redirect: '/new' }
- Redirects are not possible in Vue Router
You can check the correct answer by solving this task in the CodeWorlds game.