From 45866e23f62e7eaa52cb095ad4be0f4619ed235e Mon Sep 17 00:00:00 2001 From: Sam Light Date: Mon, 31 Mar 2025 23:52:46 +0100 Subject: Created fake css and loading the files in the service provider --- workbench/app/Providers/WorkbenchServiceProvider.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'workbench/app/Providers/WorkbenchServiceProvider.php') 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'); } } -- cgit v1.2.3