Skip to content

Instantly share code, notes, and snippets.

@thisiswei
Last active November 19, 2018 05:14
Show Gist options
  • Save thisiswei/c6a1861d04ece128b9eeea9a19cfe35e to your computer and use it in GitHub Desktop.
Save thisiswei/c6a1861d04ece128b9eeea9a19cfe35e to your computer and use it in GitHub Desktop.
more-vue
// why uses vuex?
// because it's easier to track changes
const sourceOfTruth = {}
const vmA = new Vue({
data: sourceOfTruth
})
const vmB = new Vue({
data: sourceOfTruth
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment