yii2-template-smarty Theme: Smarty - Website + Admin

  1. Installation
  2. Usage
  3. Resources

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

0 0
1 follower
0 downloads
Yii Version: 2.0
License: BSD-2-Clause
Category: Web Service
Developed by: skeeks
Created on: Oct 30, 2015
Last updated: 2 years ago

Related Extensions