- Php
- Node
Clone this repo and use it like a boilerplate
- 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
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.