How to combine the VueJS Router with Laravel

Piethein Strengholt
4 min readAug 23, 2017

I’m a huge fan of Laravel and like to code whenever I have some spare time. More recently I also started with VueJS, which is definitely making more sense when you want to offer a very rich and dynamic user experience. One of my biggest challenges has been to combine both the VueJS Router and Laravel routing concepts. I wanted to use the Laravel back-end and authentication methods provided, but I also wanted to use VueJS for some more dynamic parts. We can of course add the VueJS template and script elements to every blade we create, but the result is that every time the page…

--

--

Piethein Strengholt

Hands-on data management professional. Working @Microsoft.