You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently struggling to find a way of passing the _id property to my pathFor helper using Iron Router with Vue.
When not using Vue the pathFor tag would work without explicitly declaring the _id. eg:
href="{{pathFor 'adminClient'}}
However now we are using the v-for loop the _id is no longer automatically picked up. Perhaps because we use the v-for="person in people" syntax so Iron Router can't pick it up.
Has anyone found a way around this yet, other than creating the URL manually?
Thanks
The text was updated successfully, but these errors were encountered:
Hi guys,
I'm currently struggling to find a way of passing the
_id
property to mypathFor
helper using Iron Router with Vue.When not using Vue the
pathFor
tag would work without explicitly declaring the _id. eg:href="{{pathFor 'adminClient'}}
However now we are using the
v-for
loop the _id is no longer automatically picked up. Perhaps because we use thev-for="person in people"
syntax so Iron Router can't pick it up.Has anyone found a way around this yet, other than creating the URL manually?
Thanks
The text was updated successfully, but these errors were encountered: