Skip to content
Advertisement

Tag: vue-router4

How to inherit props from parent route with vue-router

I have the following router configuration and would like that the id of the main.parent route is converted to an integer and then passed into the child components (given props: true) for all child components. However, it seems as if the route function is only really called once (when evaluating /:id) and not when /:id/details is evaluated. The relevant code

Advertisement