0👍
If you are using vue-router to do this then you’ll have to have a look at passing props to the child component, here is the guide from vue router https://router.vuejs.org/guide/essentials/passing-props.html#boolean-mode
Another option would be to let laravel handle the routing of the application.
Source:stackexchange.com