Yii 2 Pug (ex Jade) extension (Forked by rmrevin/yii2-pug)
This extension provides a view renderer for Pug templates
for Yii framework 2.0 applications., (*1)
For license information check the LICENSE-file., (*2)
, (*3)
Code Status
, (*4)
Support
Installation
The preferred way to install this extension is through composer., (*5)
Either run, (*6)
composer require "drdim/yii2-pug:dev-master"
or add, (*7)
"drdim/yii2-pug": "~0.0",
to the require
section of your composer.json
file., (*8)
<?php
return [
// ...
'components' => [
// ...
'view' => [
// ...
'renderers' => [
'pug' => 'drdim\\yii\\pug\\ViewRenderer',
],
]
]
];
Usage