[Vuejs]-Vue, do I need the colon for all my functions?

0👍

The both do the same thing. The difference is the shorter one is ES6 syntax which needs to be transpiled into ES5 in order to work in older browsers.

Leave a comment