#Backpack Theme Stoke Change Theme backpack to them stoke (https://themesbrand.com/skote/layouts/ui-notifications.html) ##Installation Via Composer
$ composer require themebackpack/stoke
Optional you can publish the configuration to provide a different service provider stub. The default is here.
$ php artisan vendor:publish --provider="ThemeBackpack\Stoke\StokeServiceProvider"
You can edit your CRUD controller extend BaseCrudController be like:
use ThemeBackpack\Stoke\app\Http\Controllers\BaseCrudController;
class CategoryCrudController extends BaseCrudController
and in function setup you need add:
public function setup()
{
parent::setup();
CRUD::setModel(\App\Models\Category::class);
CRUD::setRoute(config('backpack.base.route_prefix') . '/category');
CRUD::setEntityNameStrings('category', 'categories');
}
in config/backpack/base.php
you need edit 'view_namespace' => 'stoke-horizontal::' or 'view_namespace' => 'stoke-vertical::' to use theme
Reload page and theme setting successfully