Vue Router Patterns Chapter 20
If we then take a look in our browser we can see that there is only one user listed with the
information underneath coming from the user detail linked to that one user:
Child routes
We can also access posts from our API, and as a result, we can display both the posts'
information alongside our user information. Let's create a new component named
UserPosts.vue:
<template>