daxslab/yii2-simple-line-icons Simple Line Icons Asset Bundle for Yii2

Simple Line Icons Asset Bundle for Yii2

  1. Installation
  2. Usage

Installation

The preferred way to install this extension is through composer.

Add to the require section of your composer.json file:

"daxslab/yii2-simple-line-icons": "~1.0"

And run in terminal

composer update

Usage

Use as the asset bundle in Yii2 View files.

// write this in your view file or layout
\daxslab\assets\SimpleLineIconsAsset::register($this);

Or maybe you prefer to include it in your asset dependency.

public $depends = [
  // ...
  'daxslab\assets\SimpleLineIconsAsset',
  // ...
];
0 1
1 follower
8 downloads
Yii Version: 2.0
License: MIT
Category: User Interface
Created on: Aug 28, 2020
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions