diff options
author | Sam Light <sam@lightscale.co.uk> | 2025-04-01 21:21:09 +0100 |
---|---|---|
committer | Sam Light <samlight1994@gmail.com> | 2025-04-01 21:21:09 +0100 |
commit | 2eebabe00d5f5686241cfdccf807e7ce4cba642e (patch) | |
tree | 7dffec092ea6bf184c523aba9dd4f185ecde5e9a /workbench | |
parent | c7a5605d5966c32059b4a81198453e1c5e022e55 (diff) |
Diffstat (limited to 'workbench')
-rw-r--r-- | workbench/app/Providers/WorkbenchServiceProvider.php | 3 | ||||
-rw-r--r-- | workbench/routes/web.php | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/workbench/app/Providers/WorkbenchServiceProvider.php b/workbench/app/Providers/WorkbenchServiceProvider.php index ceaeef0..e2150c3 100644 --- a/workbench/app/Providers/WorkbenchServiceProvider.php +++ b/workbench/app/Providers/WorkbenchServiceProvider.php @@ -24,8 +24,5 @@ class WorkbenchServiceProvider extends ServiceProvider Assets::registerManifest( 'main', public_path('dist/manifest.json'), '/dist' ); - - Assets::queueScript('main::main.js'); - Assets::queueStyle('main::main.css'); } } diff --git a/workbench/routes/web.php b/workbench/routes/web.php index 67e84cf..bc9fdbc 100644 --- a/workbench/routes/web.php +++ b/workbench/routes/web.php @@ -1,7 +1,11 @@ <?php +use Lightscale\LaralightAssets\Facades\Assets; + use Illuminate\Support\Facades\Route; Route::get('/', function () { + Assets::queueScript('main::main.js'); + Assets::queueStyle('main::main.css'); return view('index'); }); |