-
-
Save championswimmer/088b14974746fdc04801ccd5a9081349 to your computer and use it in GitHub Desktop.
This file contains 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
const moduleA = { | |
state: { ... }, | |
mutations: { ... }, | |
actions: { ... }, | |
getters: { ... } | |
} | |
const moduleB = { | |
state: { ... }, | |
mutations: { ... }, | |
actions: { ... } | |
} | |
const store = new Vuex.Store({ | |
modules: { | |
a: moduleA, | |
b: moduleB | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment