Vue.js ‘$remove’ method

$remove is a handy internal method of Vue.js to remove an element in an array. This method is pretty much just calling the splice() function, but reducing the number of lines of code.




The Vue.js equivalent to AngularJS’s ‘ng-cloak’

ng-cloak removes the ‘flashing’ of hidden elements on runtime. It’s not a feature of Vue.js but can be added easily by adding this to your CSS:

[v-cloak] { display:none; }

Usage example: 

<div v-show="appLoaded" v-cloak> Blah blah blah</div>