salatnik/yii2-bootstrap-rtl
Composer 安装命令:
composer require salatnik/yii2-bootstrap-rtl
包简介
The Twitter Bootstrap Rtl extension for the Yii 2.0 framework
关键字:
README 文档
README
This is the Twitter Bootstrap RTL (Right to Left) extension for Yii 2. It create an AssetBundle for Rtl bootstrap.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist salatnik/yii2-bootstrap-rtl
or add
"salatnik/yii2-bootstrap-rtl": "*"
to the require section of your composer.json file.
For using this asset bundle you need just add this line 'salatnik\bootstrap\BootstrapRtlAsset' in $depends of AppAsset or any asset bundels you work that.
Example:
namespace backend\assets; use yii\web\AssetBundle; class AppAsset extends AssetBundle { public $basePath = '@webroot'; public $baseUrl = '@web'; public $css = [ 'css/site.css', ]; public $depends = [ 'yii\web\YiiAsset', 'yii\bootstrap\BootstrapAsset', 'salatnik\bootstrap\BootstrapRtlAsset', ]; }
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-08-20