madand/yii2-underscore
最新稳定版本:1.8
Composer 安装命令:
composer require madand/yii2-underscore
包简介
Underscore.js asset for Yii2
README 文档
README
Provides asset class for easy integration of Underscore.js into your Yii2 application.
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist "madand/yii2-underscore:*"
or add
"madand/yii2-underscore": "*"
to the require section of your composer.json file.
You may also specify the version of Underscore to install (e.g. 1.5, 1.8), starting from 1.5:
# this will install the latest revision in 1.8 branch (e.g. 1.8.3) composer require --prefer-dist "madand/yii2-underscore:1.8"
Usage
In the view file register the asset:
\madand\underscore\UnderscoreAsset::register($this);
License
The BSD License (BSD). Please see License File for more information.
统计信息
- 总下载量: 19.23k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-04-15