adr1enbe4udou1n / laravel-ssr

Vue Server Side Rendering with Laravel + Node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Vue Server Side Rendering with Laravel + Node


Languages

Language:PHP 92.4%Language:HTML 4.4%Language:Vue 3.2%