diff options
Diffstat (limited to 'workbench/app/Providers/WorkbenchServiceProvider.php')
-rw-r--r-- | workbench/app/Providers/WorkbenchServiceProvider.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/workbench/app/Providers/WorkbenchServiceProvider.php b/workbench/app/Providers/WorkbenchServiceProvider.php index e8cec9c..ceaeef0 100644 --- a/workbench/app/Providers/WorkbenchServiceProvider.php +++ b/workbench/app/Providers/WorkbenchServiceProvider.php @@ -2,6 +2,8 @@ namespace Workbench\App\Providers; +use Lightscale\LaralightAssets\Facades\Assets; + use Illuminate\Support\ServiceProvider; class WorkbenchServiceProvider extends ServiceProvider @@ -19,6 +21,11 @@ class WorkbenchServiceProvider extends ServiceProvider */ public function boot(): void { - // + Assets::registerManifest( + 'main', public_path('dist/manifest.json'), '/dist' + ); + + Assets::queueScript('main::main.js'); + Assets::queueStyle('main::main.css'); } } |