Created
November 11, 2018 02:29
-
-
Save bluejack/bc5020d79a45b624bc9588e8cb60b966 to your computer and use it in GitHub Desktop.
A sample state model for a Vuex store
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
state: { | |
list: ['key1', 'key2', 'key3'], | |
items: { | |
key1: { title: "Title 1"}, | |
key2: { title: "Title 2"}, | |
key3: { title: "Title 3"} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment