默认情况下,路由表是按照Aurelia中的约定定义的,因为子路径的路径与父路径的路径匹配。
/content/items -> components/item-list (<router-view>)
/content/items/:id -> components/item-details
中定义具有不同路径的子路由
/content/items -> components/item-list (<router-view>)
/items/:id -> components/item-details
有没有办法实现呢?