Skip to content

skeeks-cms/cms-assets-auto-compress

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

Component automatically compile js and css files (on request)

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist skeeks/cms-assets-auto-compress "*"

or add

"skeeks/cms-assets-auto-compress": "*"

Configuration app

'bootstrap'    => ['assetsAutoCompress'],
'components' =>
[
    'assetsAutoCompress' =>
    [
        'class'         => '\skeeks\cms\assetsAuto\AssetsAutoCompressComponent',
    ],
    'assetsAutoCompressSettings' =>
    [
        'class'         => '\skeeks\cms\assetsAuto\SettingsAssetsAutoCompress',
    ],
    'i18n' => [
        'translations' =>
        [
            'skeeks/assets-auto' => [
                'class'             => 'yii\i18n\PhpMessageSource',
                'basePath'          => '@skeeks/cms/assetsAuto/messages',
                'fileMap' => [
                    'skeeks/assets-auto' => 'main.php',
                ],
            ]
        ]
    ],
],

Links


skeeks!
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | cms.skeeks.com

About

Component automatically compile js and css files (on request)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages