Articles
Latest
More
Newsletter Sponsorship Discord About
Sign up for our Newsletter
The video for this lesson is currently being updated, please read the transcript instead.
Advanced Vue 2 - Vuex & SSR > Lesson 30

Creating event state in store

so let's move all this mock data into the store, because obviously we want to have our

events stored in Vuex.

Coming over to here, we'll create a state property, sorry, yeah we'll create a event

property in the state and I'm sort of stuffed up the formatting a bit there, but let's just

fix it like that and going over to our calendar day, instead of mock data we want to say this.store.state.events

like that.

That should work, let's let that build and then refresh.


Back to course page

Click to load comments...

Articles
  • Latest
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom