Last active
July 11, 2020 06:13
-
-
Save azmi6298/b090964bcb18291fc7383bd3d454a4ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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