nystudio107/craft-templatecomments
Composer 安装命令:
composer require nystudio107/craft-templatecomments
包简介
Adds a HTML comment with performance timings to demarcate `{% block %}`s and each Twig template that is included or extended.
README 文档
README
Template Comments plugin for Craft CMS 5.x
Adds a HTML comment with performance timings to demarcate {% block %}s and each Twig template that is included or extended.
Requirements
This plugin requires Craft CMS 5.0.0 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require nystudio107/craft-templatecomments -
Install the plugin via
./craft install/plugin templatecommentsvia the CLI, or in the Control Panel, go to Settings → Plugins and click the “Install” button for Template Comments.
You can also install Template Comments via the Plugin Store in the Craft Control Panel.
Documentation
Click here -> Template Comments Documentation
Template Comments Roadmap
Some things to do, and ideas for potential features:
- Support wrapping macros in comments
Brought to you by nystudio107
统计信息
- 总下载量: 110.99k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 20
- 点击次数: 9
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-02
