`Sebastlan
10/28/2021, 10:52 AMifox
10/28/2021, 10:52 AMifox
10/28/2021, 10:53 AMifox
10/28/2021, 10:53 AMifox
10/28/2021, 10:54 AMifox
10/28/2021, 10:55 AM`Sebastlan
10/28/2021, 10:56 AM`Sebastlan
10/28/2021, 10:57 AMRayderxx
10/28/2021, 10:57 AMphp
Route::get('/pages/{slug}', 'PageController@show')->name('pages.show');
php
public function show($slug)
{
$page = Page::forSlug($slug)->firstOrFail();
}`Sebastlan
10/28/2021, 11:30 AMTarget class [App\Http\Controllers\Admin\MenuController] does not exist.
should i use module/capsule form vendor or copied to app?ifox
10/28/2021, 11:33 AM`Sebastlan
10/28/2021, 11:33 AMifox
10/28/2021, 11:34 AMifox
10/28/2021, 11:34 AM`Sebastlan
10/28/2021, 11:35 AMifox
10/28/2021, 11:36 AMphp artisan twill:capsule:install cwsdigital/twill-capsule-menus --copy?ifox
10/28/2021, 11:36 AM`Sebastlan
10/28/2021, 11:37 AM`Sebastlan
10/28/2021, 11:45 AMifox
10/28/2021, 11:45 AMapp/Twill/Base. capsules should be in app/Twill/Capsules`Sebastlan
10/28/2021, 11:46 AM`Sebastlan
10/28/2021, 11:48 AMifox
10/28/2021, 11:49 AMifox
10/28/2021, 11:50 AM'capsules' => [
'list' => [
...
[
'name' => 'Menus',
'enabled' => true
],
...
]
],ifox
10/28/2021, 11:50 AM'menus' => [
'title' => 'Menus',
'module' => true,
],ifox
10/28/2021, 11:51 AM`Sebastlan
10/28/2021, 11:52 AMifox
10/28/2021, 11:57 AM`Sebastlan
10/28/2021, 11:59 AM