The video for this lesson is currently being updated, please read the transcript instead.

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.

To view the complete lesson you'll need to login or join this course.


Click to load comments...