Vue
Introduction to Vue.js: Routing

Nested Routes

PRO
Outline

There may come a time when you want a main component to hold a list, as we briefly mentioned before in a master detail situation. In this case, we need to make a parent component, as well as child components to hold the list detail information.

To do this, we need nested routes. Nested routes allow you to navigate to one component inside of another. Through the use of a children routes and <router-view>, one can navigate to and display nested components through nested routes.

 

I finished! On to the next chapter