Level up with access to over 250 vue.js lessons
Subscribe now and get immediate access to this course, 18 others, and all future Vue.js courses!
Get access to this course, 18 others, and future Vue.js courses!
In this Vue.js tutorial, we’ll refactor the addPost method so we can create forum posts with an action and mutations.
Remember, that you should never alter the state outside a mutation.