Tag Archives: babel

Laravel-mix and the spread operator

Posted in Quick tips on November 17, 2017

Out of the box, the excellent Laravel-mix package does not support the use of the ES6 object spread operator. Here is a quick tip which enables it in your project. Very usefull in combination with Vuex/ Redux implementations in which you often want to quickly clone an object.

Read more