lareact/app/Providers/AppServiceProvider.php
/**
     * Bootstrap any application services.
     *
     * @return void
     */
Bootstrap any application services.
@return void
Bootstrap any application services . @return void
public function boot()
    {
        Blade::directive('lareact', function () {
            die();
            list($_data, $_route) = explode(', ', $data);
        });
    }
public function boot ( ) { Blade :: directive ( 'lareact' , function ( ) { die ( ) ; list ( $ _data , $ _route ) = explode ( ', ' , $ data ) ; } ) ; }
Bootstrap any application services.
Bootstrap any application services .
//