Problem in bagisto_assets function!!
-
Hi,
I have a problem when I want to create a new page but bagisto_assets function dose not working??
In this picture, the red area must be like: -
Hi @hChamran
Your new page's route must pass through theme middleware to use bagisto_assets function.
Route::group(['middleware' => ['xxx', 'xxx', 'theme', 'xxx']], function () { Route::get('/routename', 'controller-path@method')->defaults('_config', [ 'view' => 'view file path' ])->name('route-name'); });
Thanks