Skip to content

Instantly share code, notes, and snippets.

@jordanskomer
Created November 14, 2017 21:16
Show Gist options
  • Select an option

  • Save jordanskomer/9ee3d8b0673dfd75afd9d7aa2c230317 to your computer and use it in GitHub Desktop.

Select an option

Save jordanskomer/9ee3d8b0673dfd75afd9d7aa2c230317 to your computer and use it in GitHub Desktop.
The Gotchas of Vue.js
--------
Don't use ES6 in computed values
--------
Ex: Won't Work
computed: {
test: () => {
return 'test'
}
}
Ex: Will Work
computed: {
test: function() {
return 'test
}
}
--------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment