Yii 2.0: yii2-template-smarty

Theme: Smarty - Website + Admin
1 follower

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require skeeks/yii2-template-smarty "*"

or add

"skeeks/yii2-template-smarty": "*"

Usage

<?php
namespace frontend\assets;
 
use skeeks\template\smarty\SmartyAsset;
 
/**
 * Class SmartyThemeAsset
 * @package frontend\assets
 */
class SmartyThemeAsset extends SmartyAsset
{
    public $css = [
        'https://fonts.googleapis.com/css?family=Open+Sans:300,400%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700',
        'css/essentials.css',
        'css/layout.css',
        'css/header-1.css',
        'css/color_scheme/green.css',
    ];
 
    public $js = [
        //'js/scripts.js',
    ];
}

Resources

Be the first person to leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet