dhiraj/yii2-mediaelementasset
Composer 安装命令:
composer require dhiraj/yii2-mediaelementasset
包简介
Asset Bundle for Yii2 with MediaElement.js
README 文档
README
This extension provides an assets bundle with mediaelement.js and css for Yii framework 2.0 applications.
For license information check the LICENSE-file.
Support
Installation
The preferred way to install this extension is through composer.
Either run
composer require "dhiraj/yii2-mediaelementasset:~1.0"
or add
"dhiraj/yii2-mediaelementasset": "~1.0",
to the require section of your composer.json file.
Usage
In view
traversient\yii\pagepiling\AssetBundle::register($this);
or as dependency in your main application asset bundle
class AppAsset extends AssetBundle { // ... public $depends = [ // ... '\traversient\yii\pagepiling\AssetBundle' ]; }
and both the jquery.pipelining.js and css will be added to your page load.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-30