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

Our Vue starter pack

Posted in Javascript on October 26, 2017

With vue-cli you can scaffold a new Vue app quickly. There are various templates out there you can use. Just typing vue init template-name, installing and running is all it takes. However, we tweaked the standard webpack template a little to incorporate Vuex and to have two pages using VueRouter. Just a simple starter for our own projects.

Read more

Spicing up a Laravel webapp with Vue

Posted in Javascript on October 20, 2017

Improving an old codebase by adding Vue to it. Yeah! Although only partly visible in the frontend of the webapp, we completely changed our client side code. We ditched jQuery and used Vue in our administration app.

Read more

Testing Vue components in an isolated way using Storybook

Posted in Javascript on October 12, 2017

Testing your components in Vue is a good idea. You can use unit tests or end-to-end tests. However, testing the look and feel of your components is also possible by simply watching how they render in the page for a specific state of the UI. In this post I'll discuss two approaches for isolated testing of your Vue components inside a Laravel project.

Read more

Transitions in Vue

Posted in Javascript on September 28, 2017

Transitions are essential when you want to create an intuitive user interface. When using Vue, transitions are easily integrated in your application. Here we discuss a use case of one of our own projects.

Read more