1 2 3 4 5 6 7 8 9 10 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'); });