承接 zofe/layout-module 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

zofe/layout-module

最新稳定版本:0.12.7

Composer 安装命令:

composer require zofe/layout-module

包简介

layout module for rapyd-livewire application

README 文档

README

This is the Layout module of Rapyd Admin, a Laravel application bootstrap for your projects

The idea is to isolate assets compilation and template pages for frontend/admin in a single, generic, reusable module. the base is SBAdmin but updated to bootstrap 5.3

Installation

This module is part of Rapyd Admin package

Customizing Rapyd Admin Layout

This module will be found on app/Modules/Layout. You can customize scss / static assets by editing the files in this folder.

then from app/Modules/Layout you can build and publish assets running:

cd app/Modules/Layout
npm i 
npm run dev  

the last command this will compile copy and replace all assets in your laravel public folder

Testing routes

  • /test-admin
  • /test-frontend

Usage

you can refer to two predefined layout in your rapyd-admin modules config.php es:

return [
    'layout' => 'layout::frontend',
];

or

return [
    'layout' => 'layout::admin',
];

but you can also use directly the reference in your livewire components ie:

...
    public function render()
    {
        return view('knowledgebase::Admin.articles_edit')
            ->layout('layout::admin');
    }
...

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: SCSS

其他信息

  • 授权协议: mit
  • 更新时间: 2023-02-24