Skip to content

zacksleo/yii2-metronic

Repository files navigation

yii2 metronic asset bundles

Packagist Packagist Travis Scrutinizer Scrutinizer Coverage

Quick Start

Config

add asset-packagist in composer.json, so you can use bower/npm packages

  "repositories": {
    "asset-packagist": {
      "type": "composer",
      "url": "https://asset-packagist.org"
    }
  }

Install

composer require zacksleo/yii2-metronic

Usage

  • For Layouts
use zacksleo\yii2\metronic\bundles\layouts\LayoutAsset;
LayoutAsset::register($this);
  • For Plugins
use zacksleo\yii2\metronic\bundles\plugins\AnimateAsset;
AnimateAsset::register($this);
  • For Pages
use zacksleo\yii2\metronic\bundles\pages\AboutAsset;
AboutAsset::register($this);