Replies: 1 comment 2 replies
-
VueX can't access data properties from components, it has to be the other way round. You'd have to add a property in players.js and could then access it in a component like Townsquare.vue.
https://github.com/bra1n/townsquare/blob/develop/src/components/Player.vue#L25
https://github.com/bra1n/townsquare/blob/develop/src/components/Player.vue#L178 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi again!
Since some days, I am working on a change for my local copy of clocktower.online, and this change will allow adding some roles next to the bluffs, to take any note. I want these roles to have a night order. Then, for ST, it could be useful for example
I start to be very proud of what I gave, and now I have only to change some visual points. And for this, I have three questions:
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions