[Vuejs]-How can I mix Boolean and Object Mode in vue router?

0👍

The solution is using the function mode:

props: (route) => {
    return { someSpecificProps: 'value here', ...route.params };
},

In route the params are provided and can be provided to the props.

(Credit to @PerpetualWar from the vue discord, on whos advice the solution was formed)

Leave a comment