【VueRouter】ネストされたルーティング

childrenでネストするルーティングを指定する。
以下の記述により、/users/1/postsなどが定義される。

routes: [
    { path: "/", component: Home },
    { path: "/users/:id",
      component: Users,
      props: true,
      children: [  // ここ
            { path: "posts", component: UsersPosts }
      ]
    }
]

ネスト親のurlの末尾と子の先頭には/をつけなくていい。