Complete Vue.js 2 Web Development_ Practical guide to building end-to-end web development solutions with Vue.js 2

(singke) #1
Caching the Current Folder Structure Using Vuex Chapter 6

Including and initializing Vuex


The Vuex library is included the same way as Vue itself. You can either use a hosted


version by using the previously mentioned unpkg service (https:/​/​unpkg.​com/​vuex) or


you can download the JavaScript library from their https:/​/​github.​com/​vuejs/​vuex.


Add a new