Mercurial > packages > framework
comparison src/FrameworkServiceProvider.php @ 3:e107504fa22c
New assets related to BS5
| author | luka |
|---|---|
| date | Mon, 23 Jun 2025 20:20:31 -0400 |
| parents | b44434aaa767 |
| children | 84c75d9d90be |
comparison
equal
deleted
inserted
replaced
| 2:b44434aaa767 | 3:e107504fa22c |
|---|---|
| 11 } | 11 } |
| 12 | 12 |
| 13 public function boot(): void { | 13 public function boot(): void { |
| 14 $publish_path = __DIR__.'/../publishable'; | 14 $publish_path = __DIR__.'/../publishable'; |
| 15 $this->publishes([ | 15 $this->publishes([ |
| 16 $publish_path.'/resources/views/components' => resource_path('views/components'), | 16 $publish_path.'/resources' => resource_path(), |
| 17 $publish_path.'/vite.config.js' => base_path(), | 17 $publish_path.'/vite.config.js' => base_path('vite.config.js'), |
| 18 $publish_path.'/package.json' => base_path('package.json'), | |
| 18 ]); | 19 ]); |
| 19 | 20 |
| 20 foreach (glob(base_path('routes/resources/*.php')) as $routeFile) { | 21 foreach (glob(base_path('routes/resources/*.php')) as $routeFile) { |
| 21 $this->loadRoutesFrom($routeFile); | 22 $this->loadRoutesFrom($routeFile); |
| 22 } | 23 } |
