0👍
In this way should work:
path: '/infopanel',
components: {
default: InfoPanel,
nav: PrimaryNav
},
props: {
default: true,
type: "updates"
}
}
Here’s the guide for what you’re trying to achieve:
https://router.vuejs.org/guide/essentials/passing-props.html#passing-props-to-route-components
Source:stackexchange.com