Last active
February 1, 2021 12:16
-
-
Save Dirk94/49dfb1a8f3c4cb044376a86e25fbdd6c 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 Vue from "vue"; | |
import Vuex from "vuex"; | |
Vue.use(Vuex); | |
export default new Vuex.Store({ | |
// This is the state of the application. | |
state: { | |
todos: [ | |
{ | |
completed: false, | |
message: "Get some milk 🐄", | |
}, | |
{ | |
completed: false, | |
message: "Become better at singing 🎶" | |
} | |
], | |
}, | |
// We'll look at this later | |
mutations: {}, | |
actions: {}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment