acalvino4 / craft-embed-implicit-default
扩展twig嵌入标签以允许隐式默认块
1.0.1
2023-05-11 22:35 UTC
Requires
- php: >=8.0.2
- acalvino4/twig-embed-implicit-default: ^1.0
- craftcms/cms: ^4.3.5
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
This package is auto-updated.
Last update: 2024-09-12 02:05:29 UTC
README
扩展twig嵌入标签以允许隐式默认块。此包使Craft CMS能够轻松安装和完全封装此结构,但逻辑实现在Twig Embed Implicit Default,以适用于任何使用twig的框架。有关完整文档,请参阅该包。
要求
此插件需要Craft CMS 4.3.5或更高版本,以及PHP 8.0.2或更高版本。
安装
您可以从插件商店或使用Composer安装此插件。
从插件商店
转到项目的控制面板中的插件商店,搜索“Embed Implicit Default”,然后点击“安装”。
使用Composer
打开您的终端并运行以下命令
# go to the project directory cd /path/to/my-project.test # tell Composer to load the plugin composer require acalvino/craft-embed-implicit-default # tell Craft to install the plugin ./craft plugin/install embed-implicit-default