src/Providers/TableServiceProvider.php
public function boot()
    {
        $root = __DIR__.'/../../';
        // Load views
        $this->loadViewsFrom($root . 'resources/views', 'gbrock');

        // Publish views
        $this->publishes([
            $root . 'resources/views' => base_path('resources/views/vendor/gbrock'),
        ]);

        // Publish configuration
        $this->publishes([
            $root . 'config/tables.php' => config_path('gbrock-tables.php'),
        ]);

        // Merge user config, passing in our defaults
        $this->mergeConfigFrom(
            $root . 'config/tables.php', 'gbrock-tables'
        );

        // Publish assets
//        $this->publishes([
//            $root . 'build/assets' => public_path('vendor/gbrock/tables'),
//        ], 'public');
    }
public function boot()
    {
        $root = __DIR__.'/../../';
        // Load views
        $this->loadViewsFrom($root . 'resources/views', 'gbrock');

        // Publish views
        $this->publishes([
            $root . 'resources/views' => base_path('resources/views/vendor/gbrock'),
        ]);

        // Publish configuration
        $this->publishes([
            $root . 'config/tables.php' => config_path('gbrock-tables.php'),
        ]);

        // Merge user config, passing in our defaults
        $this->mergeConfigFrom(
            $root . 'config/tables.php', 'gbrock-tables'
        );

        // Publish assets
//        $this->publishes([
//            $root . 'build/assets' => public_path('vendor/gbrock/tables'),
//        ], 'public');
    }
public function boot ( ) { $ root = __DIR__ . '/../../' ; // Load views $ this -> loadViewsFrom ( $ root . 'resources/views' , 'gbrock' ) ; // Publish views $ this -> publishes ( [ $ root . 'resources/views' => base_path ( 'resources/views/vendor/gbrock' ) , ] ) ; // Publish configuration $ this -> publishes ( [ $ root . 'config/tables.php' => config_path ( 'gbrock-tables.php' ) , ] ) ; // Merge user config, passing in our defaults $ this -> mergeConfigFrom ( $ root . 'config/tables.php' , 'gbrock-tables' ) ; // Publish assets //        $this->publishes([ //            $root . 'build/assets' => public_path('vendor/gbrock/tables'), //        ], 'public'); }
Bootstrap the application files.
@return void
Bootstrap the application files .