Skip to content

Instantly share code, notes, and snippets.

@azmi6298
Last active July 11, 2020 06:13
Show Gist options
  • Select an option

  • Save azmi6298/b090964bcb18291fc7383bd3d454a4ea to your computer and use it in GitHub Desktop.

Select an option

Save azmi6298/b090964bcb18291fc7383bd3d454a4ea to your computer and use it in GitHub Desktop.
import Vuex from 'vuex'
import Vue from 'vue'
import orders from './modules/orders'
// install vuex
Vue.use(Vuex)
// create a store
export default new Vuex.Store({
modules: {
orders
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment