Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 682 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 682 Bytes

Yii2 mustache.js

Yii2-extension for mustache.js

This project is distributed under the terms of the Apache Software License, Version 2.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist xfg/yii2-mustache.js "*"

or add

"xfg/yii2-mustache.js": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply add next code to your asset bundle :

public $depends = [
    'xfg\mustachejs\MustachejsAsset',
];