Includes an asset bundle component which will register assets that are shared among projects that includes certain extensions created by 2amigOS! Consulting Group LLC. Currently, this asset bundle provides:
The bundle will increase according to the requirements of the Yii 2 extensions we build along the way.
The preferred way to install this extension is through composer.
Either run
php composer.phar require "2amigos/yii2-dosamigos-asset-bundle" "*"
or add
"2amigos/yii2-dosamigos-asset-bundle" : "*"
to the require section of your application's composer.json
file.
use dosamigos\assets\DosAmigosAsset;
/* @var yii\web\View $this */
DosAmigosAsset::register($this);
If its a requirement of an extension created by 2amigOS! it will be automatically registered.
Please, check the Yii2 documentation about assets for further information about its integration.
web development has never been so fun
www.2amigos.us
Comments