Laravel 5 + Angular 2 boilerplate
This is a boilerplate for Laravel5 + Angular2 projects.
Webpack is used for bundling assets.
- Laravel 5.3.9
- Angular 2.0.0
- Webpack 1.13.1
- clone repository
- run installer script via
Installer script is a bash script that runs list of commands one-by-one. It is created to simplify installation process.
At this point you can start developing your app.
Run development script via
Development script is a bash script that runs development php server and watches for changes with Gulp and Browsersync.
Set proper credentials in
.env file in order to use database.
Run migrations via
php artisan migrate.
gulp --production to merge and minify:
- CSS-files into
resources/views/welcome.blade.phpto see how to use those according to active environment. Don't forget to run
php artisan config:cachewhen change environment in
The repository code is open-sourced software licensed under the MIT license.