viralsoft / bptheme-stoke
Theme stoke for backpack
Installs: 35
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
This package is not auto-updated.
Last update: 2025-03-13 05:23:22 UTC
README
#Backpack Theme Stoke Change Theme backpack to them stoke (https://themesbrand.com/skote/layouts/ui-notifications.html) ##Installation Via Composer
$ composer require viralsoft/bptheme-stoke
Usage
Optional you can publish the configuration to provide a different service provider stub. The default is here.
$ php artisan vendor:publish --provider="ViralSoft\BPThemeStoke\StokeServiceProvider"
You can edit your CRUD controller extend BaseCrudController be like:
useViralSoft\BPThemeStoke\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