re: Hands-on Vue.js for Beginners (Part 4) VIEW POST

FULL DISCUSSION
 

Pass game as a parameter.
Then can have ...

methods: {
addRating(game) {game.rating +=1 }
}

So don't need "this."

 
code of conduct - report abuse