summaryrefslogtreecommitdiff
path: root/workbench
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2025-04-01 21:21:09 +0100
committerSam Light <samlight1994@gmail.com>2025-04-01 21:21:09 +0100
commit2eebabe00d5f5686241cfdccf807e7ce4cba642e (patch)
tree7dffec092ea6bf184c523aba9dd4f185ecde5e9a /workbench
parentc7a5605d5966c32059b4a81198453e1c5e022e55 (diff)
Fixed ability to test from a fresh installv1.0.0
Diffstat (limited to 'workbench')
-rw-r--r--workbench/app/Providers/WorkbenchServiceProvider.php3
-rw-r--r--workbench/routes/web.php4
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');
});