Last active
November 19, 2018 05:14
-
-
Save thisiswei/c6a1861d04ece128b9eeea9a19cfe35e to your computer and use it in GitHub Desktop.
more-vue
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
// 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