Courses
Vue Foundations Vue Fullstack Vue Enterprise
Articles
Latest Topics
More
Newsletter Sponsorship Discord About
The video for this lesson is currently being updated, please read the transcript instead.
Advanced Vue 2 - Vuex & SSR > Lesson 21

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


Back to course page

Click to load comments...

Courses
  • Vue Foundations
  • Vue Fullstack
  • Vue Enterprise
Articles
  • Latest
  • Topics
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

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

  • RSS
  • |
  • Atom