Laravel React Webpack Starter Kit
March 15, 2019 ยท View on GitHub
About Laravel
Laravel React Webpack Starter Kit
This starter kit is designed to get you up and running with with react.js with Laravel, built on top of webpack module bundler. It is already setup to provide CSS preprocessing with PostCSS and SASS, CSS modules, image optimization, pre-configured routing and more.
Installation
git clone git@github.com:bezunakarmi/laravel-react-webpack.gittcomposer installnpm install
Development
Open your favorite terminal and run these commands.
php artisan servefor running Laravel appnpm startoryarn startto run React app
Production
For production build:
npm buildoryarn build
##Changes
- Laravel version updated to 5.8
- React version updated to 16.2
Further improvements
We're constantly working on adding new features. Bug reports and pull requests are welcome.