themebackpack / stoke
Theme stoke for backpack
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
This package is auto-updated.
Last update: 2025-01-05 16:50:51 UTC
README
#Backpack Theme Stoke Change Theme backpack to them stoke (https://themesbrand.com/skote/layouts/ui-notifications.html) ##Installation Via Composer
$ composer require themebackpack/stoke
Usage
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