Skip to content

Instantly share code, notes, and snippets.

@M1cr0M1nd
Created May 29, 2019 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save M1cr0M1nd/237d130da5c33a977460f9362d7aaf5b to your computer and use it in GitHub Desktop.
Save M1cr0M1nd/237d130da5c33a977460f9362d7aaf5b to your computer and use it in GitHub Desktop.
Intro to the Vue State Manager - Vuex
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