vuejs / vue-hackernews-2.0

HackerNews clone built with Vue 2.0, vue-router & vuex, with server-side rendering
MIT License
10.96k stars 2.15k forks source link

Has Anyone Successfully Implement this SSR on Laravel? #137

Open g0ld3lux opened 7 years ago

g0ld3lux commented 7 years ago

Im bit confuse how to set up , a laravel app , with vue js that has SSR...

using the No SSR vue is very straight forward in laravel, but using SSR,

Im totally lost...

Can anyone Help me ?

LinusBorg commented 7 years ago

At the moment, Vue's SSR functionality requires a node environment. You can't run it with PHP, so you can't run it with Laravel.

nblackburn commented 7 years ago

@g0ld3lux If you abstract out the Laravel application as an API then you can do what you want with the frontend instead of them being coupled.

john-ko commented 6 years ago

@g0ld3lux see if this is any help https://vuejsdevelopers.com/2017/11/06/vue-js-laravel-server-side-rendering/