yireo/shopware6-add-twig-template-name
Composer 安装命令:
composer require yireo/shopware6-add-twig-template-name
包简介
Shopware 6 plugin to add the template name to all Twig templates
README 文档
README
DEPRECATED: Use https://github.com/FriendsOfShopware/FroshDevelopmentHelper instead
This plugin adds - once enabled - comments in the HTML document with the names of Twig templates. For example:
<!-- @Storefront/storefront/base.html.twig --><!DOCTYPE html> <!-- @Storefront/storefront/base.html.twig --><html lang="en-GB" itemscope="itemscope" itemtype="https://schema.org/WebPage">
Usage
composer require yireo/shopware6-add-twig-template-name bin/console plugin:refresh bin/console plugin:install --activate YireoAddTwigTemplateName bin/console cache:clear
Disclaimer
The majority of the code of this plugin was proudfully borrowed from the awesome oroinc/twig-inspector. A Shopware plugin for that tool is in the works too: yireo-shopware6/shopware6-twig-inspector
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-05-16