subcom/twill-menu
Composer 安装命令:
composer require subcom/twill-menu
包简介
A twill package
README 文档
README
This a package build with laravel and twill to add menu modul.
Support us
Installation
Project setup
To install twill-menu package and all dependecies run the command below and follow the instructions:
composer require subcom/twill-menu
Config setup
- Add this to config/twill.php inside block_editor:
'directories' => [ 'source' => [ 'blocks' => [ 'menu' => [ 'title' => 'Menu', 'icon' => 'quote', 'component' => 'a17-block-menu', 'path' => base_path('vendor/subcom/twill-menu/src/Twill/Capsules/Menus/resources/views/admin/blocks'), 'source' => A17\Twill\Services\Blocks\Block::SOURCE_TWILL, ], ], ], ], 'repeaters' => [ 'menu-item' => [ 'title' => 'Aggiungi link', 'trigger' => 'Aggiungi sottovoce', 'component' => 'a17-block-menu-item', 'path' => base_path('vendor/subcom/twill-menu/src/Twill/Capsules/Menus/resources/views/admin/blocks'), 'source' => A17\Twill\Services\Blocks\Block::SOURCE_TWILL, ], ],
- Run command:
php artisan optimize
- Run command:
php artisan route:trans:clear
- Run command:
php artisan vendor:publish --tag="twill-menu-config"
- Publish files: If you want to make changes use command bellow but you have to make changes in config to use twill default
php artisan vendor:publish --tag="twill-menu-views" php artisan vendor:publish --tag="twill-menu-controller"
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 87
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-06-21