DEV Community

Discussion on: Create a SPA with Laravel and Nuxt

Collapse
 
leob profile image
leob • Edited

Great job ... what surprised me is that while Laravel "ships" with Vue.js you can hardly find anything about integrating Laravel with Nuxt, even though the two seem a natural combo. Your repo seems to be one of the very few solutions!

What I understood is that in fact you need Javascript on the server (node/express) to support SSR. So what you did (if I understood correctly) is run a separate node/express server and proxy requests between the node server and the Laravel server, right? And then you just code your app in Laravel (the API part) and Vue (the client part), no need to worry about the node/express part.

Sounds pretty nifty, I'll read your source code to understand the details.

Yes I would definitely be interested in your authorization tutorial with LaravelNuxt!