Last active
March 13, 2019 02:43
-
-
Save webmasterdevlin/ad5f05ebd0f1fbeec9162e8b478b8caf to your computer and use it in GitHub Desktop.
Vuex State : src/store/modules/heroes/state.js
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 state = { | |
heroes: [], // this heroes array must be initialized with and empty array. | |
hero: {} // this hero object must be initialized with and empty object. | |
}; | |
export default state; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment