This plugin provides a great eloquent way of creating HTML5 applications with AngularJS, Angular, ReactJS, Vue and many more., (*1)
Don't go with the name of the package i.e. laravel-angular-app, because initially, this package was designed to create only AngularJS applications, but now it's objective is to create, build and load assets in an elegant way in Laravel., (*2)
Creating multiple apps per Laravel Installation., (*7)
This package offers to create multiple webpack applications in a single Laravel installation. For example, if you want to create an E-Commerce application, then it would require a separate application to manage the content for the front end application. This is handled very efficiently in this package because you can create as many applications you want with different blades., (*8)
Creating Blade View, (*9)
```php+HTML
@angular("react")
{{--Used to set app name--}}
@route("react")
{{--Used to define site route name--}}
@title("Laravel React")
{{--Used to define application title--}}
@servicesRoute("services")
{{--Used to define services route, when defined a $servicesUrl variable is defined in javascript--}}
, (*10)
{{$app->title()}}
url()}}" rel="stylesheet"/>
@vars()
{{--Used to print
**Loading View**
There's nothing special required to load views, it's as usual.
```php
Route::get('/', function () {
return view('welcome');
});
Creating Assets, (*11)
This package assumes a folder with the app name in public/assets directory, where all of the assets are placed for that application., (*12)
For example, if an app is having name welcome, then there should be a directory public/assets/welcome containing all the javascript, css, images and other assets required by that application., (*13)
Loading Assets, (*14)
$app->asset("path/for/asset") will return an instance for Shridhar\Bower\Asset class., (*15)
It contains an url() method which return an absolute url for that asset., (*16)