jornboerema/bz-cms 问题修复 & 功能扩展

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

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

jornboerema/bz-cms

最新稳定版本:1.2

Composer 安装命令:

composer require jornboerema/bz-cms

包简介

README 文档

README

Your can install the package via composer:

composer require jornboerema/bz-cms

Install the plugin with:

php artisan bz-cms:install

Migrate the database with:

php artisan migrate

Usage

Register the plugin in your AdminPanelProvider.

use Filament\Panel;
use JornBoerema\BzCMS\BzCMSPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            BzCMSPlugin::make(),
        ]);
}

You can create a new page block with:

php artisan bz-cms:create-block {name}

If you don't already have a livewire layout, create it with:

php artisan livewire:layout

Replace the content of the livewire layout file with:

<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="csrf-token" content="{{ csrf_token() }}">

        @stack('head')

        <title>{{ config('app.name') }}</title>

        <!-- Scripts -->
        @vite(['resources/css/app.css', 'resources/js/app.js'])

        <!-- Styles -->
        @livewireStyles
    </head>
    <body>
        {{ $slot }}
    </body>
</html>

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-06-28