Created
August 31, 2020 10:42
-
-
Save arisp8/f015e9c250a9e76927607bef625ec4fd to your computer and use it in GitHub Desktop.
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
var vm = new Vue({ | |
data: { | |
a: 1 | |
} | |
}) | |
// `vm.a` is now reactive | |
vm.b = 2 | |
// `vm.b` is NOT reactive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment