summaryrefslogtreecommitdiff
path: root/workbench
diff options
context:
space:
mode:
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');
});