-
-
Save M1cr0M1nd/237d130da5c33a977460f9362d7aaf5b to your computer and use it in GitHub Desktop.
Intro to the Vue State Manager - Vuex
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 app = new Vue({ | |
el: '#app', | |
// provide the store using the "store" option. | |
// this will inject the store instance to all child components. | |
store, | |
components: { ScoreDashboard }, | |
template: ` | |
<div class="app"> | |
<ScoreDashboard></ScoreDashboard> | |
</div> | |
` | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment