In this tutorial we go over how to split up our VueX store file into smaller files — both the mechanics of how to do it, and the philosophy of _where_ to split the file.
You’ll learn how to access the State of a module, how to dispatch to a module’s Actions, how to access the root store from a module, and much more.
0:48 The First Module
11:16 All the other modules
The “Building a VueJS Screencasting App From Scratch” Playlist: https://www.youtube.com/playlist?list=PLPwpWyfm6JADRf8x1Jc0Da8R71WJyt-Jn
*** Github Links ***
Snackbar module: https://github.com/jeffreybiles/vue-screencasts/commit/1f6a488502779eec2a12b76aa780065a092abff9
Tags Module: https://github.com/jeffreybiles/vue-screencasts/commit/c3c17c1cafe8d33dfdbb3196819d53edcdda02ab
Videos Module: https://github.com/jeffreybiles/vue-screencasts/commit/2ec7e3bacec2c47ec624c4480e5014988a8110ff
Users Module: https://github.com/jeffreybiles/vue-screencasts/commit/863c4805a00142ec062998572b5bc347d4d78118
*** Find me online! ***
Website coming soon.
#VueX #Modules #Tutorial #VueJS #Vue #2019 #Vue #Refactor