viralsoft/bptheme-stoke 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

viralsoft/bptheme-stoke

Composer 安装命令:

composer require viralsoft/bptheme-stoke

包简介

Theme stoke for backpack

README 文档

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

统计信息

  • 总下载量: 36
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固