https://github.com/bestyii/yii2-bootstrap-icons
bootstrap v4 icons for yii2 assets register
https://github.com/bestyii/yii2-bootstrap-icons
Last synced: about 1 month ago
JSON representation
bootstrap v4 icons for yii2 assets register
- Host: GitHub
- URL: https://github.com/bestyii/yii2-bootstrap-icons
- Owner: bestyii
- License: bsd-3-clause
- Created: 2022-06-21T01:07:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-21T01:16:53.000Z (almost 3 years ago)
- Last Synced: 2025-02-13T13:18:17.942Z (3 months ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Bootstrap v4 Icons
============安装 Installation
------------通过 [composer](http://getcomposer.org/download/)安装.
项目中直接运行
```
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
```php
class ThemeAsset extends AssetBundle
{
public $css = [
];public $js = [
];public $depends = [
BootstrapIconAsset::class
];
```OR
```php
BootstrapIconAsset::register($this);
```