bestyii / yii2-bootstrap-icons
bootstrap icons
Installs: 315
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- npm-asset/bootstrap-icons: *
- yiisoft/yii2: ^2.0.0
README
安装 Installation
通过 composer安装.
项目中直接运行
php composer.phar require bestyii/yii2-bootstrap-icons
或者添加下面代码到 composer.json
文件
"bestyii/yii2-bootstrap-icons": "*"
使用 Usage
Once the extension is installed, simply use it in your code by :
You set url, where locate json file OR set path for scan
class ThemeAsset extends AssetBundle { public $css = [ ]; public $js = [ ]; public $depends = [ BootstrapIconAsset::class ];
OR
BootstrapIconAsset::register($this);