nerdcel/kirby3-blade-extensions
最新稳定版本:2.2.0
Composer 安装命令:
composer require nerdcel/kirby3-blade-extensions
包简介
Kirby3 plugin to add directives and ifs to blade.
README 文档
README
This plugin provides custom blade directives/ifs for your Kirby project, when using the leitsch/blade kirby3 plugin. To set your own custom directives/ifs, please see the Options section in this README file.
This plugin is completely free and published under the MIT license. However, if you are using it in a commercial project and want to help me keep up with maintenance, please consider making a donation of your choice.
Installation
Download
Download and copy this repository to /site/plugins/kirby3-blade-extensions.
Git submodule
git submodule add https://github.com/nerdcel/kirby3-blade-extensions.git site/plugins/kirby3-blade-extensions
Composer
composer require nerdcel/kirby3-blade-extensions
Available directives
- siteTitle
- pageTitle
- dd
- level
- vueData
- vueMethod
- inlineScript (endinlineScript)
- meta
Available ifs
- viteDevMode
Available components
- vueComponent
Options
The following options are available to be set using your site/config/config.php
'nerdcel.kirby3-blade-extensions' => [ 'directives' => ['name' => method(), ...], 'ifs' => ['name' => method(), ...] ]
If that doesn't work, rund npm install first.
License
MIT
Credits
统计信息
- 总下载量: 1.94k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-07