hoaaah/yii2-universal-theme-asset

This ekstensions is library asset bundle for universal-business-e-commerce-template by DevCows of Hugo Theme

dev-master 2017-09-26 03:42 UTC

This package is auto-updated.

Last update: 2024-10-25 16:23:36 UTC


README

This extensions is library for Universal-Business & E-Commerce Template Themes

Universal-Business is clean and stylish universal website template built with Bootstrap 3.3. It stands out with its clean design and elegant typography. It is one of the most complex free Bootstrap templates and with almost 30k downloads (as of Feb 2017), it is also my most popular Bootstrap freebie.

Start Bootstrap was created by and is maintained by DevCows

Installation

The preferred way to install this extension is through composer.

Either run

composer require hoaaah/yii2-universal-theme-asset:dev-master

or add

"hoaaah/yii2-universal-theme-asset": "*"

to the require section of your composer.json file.

Usage

You can use an example views in views-example and copy it to your view.

Don't forget to use this in your view

use hoaaah\universal\UniversalAsset;

UniversalAsset::register($this);

and just in case you want to use vendor image, to call any content of vendor image you can use this

$image = hoaaah\universal\UniversalAsset::register($this);

<img src=<?= $image->baseUrl.'/img/portfolio/startup-framework.png' ?> class="img-responsive" alt="">

it will call startup-framework.png from /vendor/hoaaah/yii2-universal-theme-asset/assets/img/portofolio/startup-framework.png

Creator

This Universal-Business library for Yii2 was created by and is maintained by Heru Arief Wijaya.