Dynamically display updated user stats?

Posted 1 year ago by heykatieben

Hi all - I think this is probably simple though I don't know what I'm doing. :)

I added some custom user stats to <spark-navbar>, that display using vue, like this:

@{{ user.money }})

How do I get that display to update when the user object is updated? Things happen in new custom vue components outside this one, and I want to update the user object here so these values will update. How do I do that?

I've tried adding user to mounted() in spark-navbar like this:

Vue.component('spark-navbar', {
    mixins: [base],

    mounted() {


Please sign in or create an account to participate in this conversation.