rmrevin/yii2-pug
最新稳定版本:0.0.1
Composer 安装命令:
composer require rmrevin/yii2-pug
包简介
Yii2 Pug (ex Jade) extension
关键字:
README 文档
README
This extension provides a view renderer for Pug templates for Yii framework 2.0 applications.
For license information check the LICENSE-file.
Code Status
Support
Installation
The preferred way to install this extension is through composer.
Either run
composer require "rmrevin/yii2-pug:~0.0"
or add
"rmrevin/yii2-pug": "~0.0",
to the require section of your composer.json file.
Configure
<?php return [ // ... 'components' => [ // ... 'view' => [ // ... 'renderers' => [ 'pug' => 'rmrevin\\yii\\pug\\ViewRenderer', ], ] ] ];
That's all! Now you can use pug templates.
统计信息
- 总下载量: 6.23k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-24