Sha256: bea7c58df0f4ed7f4c40adbcf33bba62134ba6df5488c905421dd90729c8b3ab
Contents?: true
Size: 359 Bytes
Versions: 2
Compression:
Stored size: 359 Bytes
Contents
// https://vuex.vuejs.org/guide/state.html // // Vuex uses a single state tree - that is, this single object contains all your // application level state and serves as the "single source of truth. // export const state = { // // this.$store.state.<%= store_name %>.posts // posts: [], // // this.$store.state.<%= store_name %>.counter // counter: 0 }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vue-generators-0.1.3 | lib/vue/generators/vue/store/templates/state.template |
vue-generators-0.1.2 | lib/vue/generators/vue/store/templates/state.template |