Skip to content

0: JavaScript

Mirv edited this page Mar 2, 2020 · 2 revisions
new Vue({
  el: '#app',
  components: {
    App
  },
  render: h => h(App);  // ES6 compliant*
}) 

* See History of render - Link


VueJS reactivity - Link - aka If you add/delete property after Vue has instantiated. Vue does not know about it. - EX: lifehook cycle. So you either Vue.set(<whatever>, <blah>) or var <whatever> = <blah>;. Vue wraps array methods like push, splice etc so they will also trigger view updates.

Clone this wiki locally