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

Moving Vuex into own file

So we wanted our decrement and increment buttons to alter the current month and year in the

store, but before we do that lets go to our web entry and we've defined the store here

as part of our Vue instance, but I'd actually like to put it in its own file before we start

to add too much configuration to it.

How we're going to do it is, we're in our source folder here we're gonna create a new

folder called store and inside that we will

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


Click to load comments...