I am trying to pass a variable as the param to vue-router so it can be set dynamically. Pretty much as the example below:
<router-link :to="{
name: notification.name,
(notification.param_name): notification.param_value
}">Blabla</router-link>
I am not looking at setting the key like this: var[notification.param_name].
I suppose this question could be expanded to a more general problem, but I am having a hard time explaining it in another way.