Conditions | 2 |
Paths | 2 |
Total Lines | 20 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function boot() |
||
16 | { |
||
17 | if ($this->app->runningInConsole()) { |
||
18 | $this->commands([ |
||
19 | InstallCommand::class, |
||
20 | ]); |
||
21 | } |
||
22 | |||
23 | $this->loadRoutesFrom(__DIR__.'/Routes/routes.php'); |
||
24 | |||
25 | $this->publishes([ |
||
26 | __DIR__.'/../stubs/js' => resource_path('assets/js'), |
||
27 | __DIR__.'/../stubs/sass' => resource_path('assets/sass'), |
||
28 | __DIR__.'/../stubs/views' => resource_path('views'), |
||
29 | ], 'install'); |
||
30 | |||
31 | $this->publishes([ |
||
32 | __DIR__.'/../config/bulma.php' => config_path('bulma.php'), |
||
33 | ], 'config'); |
||
34 | } |
||
35 | |||
46 |