A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/rmrevin/yii2-pug below:

rmrevin/yii2-pug: Yii 2 Pug (ex Jade) extension.

Yii 2 Pug (ex Jade) extension

This extension provides a view renderer for Pug templates for Yii framework 2.0 applications.

For license information check the LICENSE-file.

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.

<?php

return [
	// ...
	'components' => [
		// ...
		'view' => [
		    // ...
            'renderers' => [
            	'pug' => 'rmrevin\\yii\\pug\\ViewRenderer',
            ],
		]
	]
];

That's all! Now you can use pug templates.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4