Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.
/ laravel-ssr Public archive

Vue Server Side Rendering with Laravel + Node

Notifications You must be signed in to change notification settings

exodusanto/laravel-ssr

Repository files navigation

Laravel SSR

Dependencies

  • Php
  • Node

Clone this repo and use it like a boilerplate

How to install

  • Laravel base install
composer install
...
  • Node modules
yarn install | npm install
  • Build vue
yarn prod | npm run prod
  • Start node server
node render_server/server.js
  • Set laravel variable in the .env file
APP_RENDER=http://localhost:5005
  • Serve laravel
php artisan serve

How it works

larave-ssr

Bug

687474703a2f2f64726f70732e6b796c65666f782e63612f31637147502b

Just kidding. Please create an issue. Your issue is much more likely to be resolved/merged if it includes a fix & pull request.

Have an idea that improves laravel-ssr? Awesome! Please fork this repository, implement your idea (including documentation, if necessary), and submit a pull request.