29 ms·
There is a plug-in that lets SFCs use es6 class syntax instead of objects [0]. The code looks so much better. I don’t think the docs ever mention it. [0]: http
by deckar01 8y ago
There is a plug-in that lets SFCs use es6 class syntax instead of objects [0]. The code looks so much better. I don’t think the docs ever mention it.
[0]: https://github.com/vuejs/vue-class-component/blob/master/README.md https://github.com/vuejs/vue-class-component/blob/master/REA...