Skip to content

Latest commit

 

History

History
executable file
·
49 lines (32 loc) · 682 Bytes

README.md

File metadata and controls

executable file
·
49 lines (32 loc) · 682 Bytes

Bootstrap v4 Icons

安装 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);