Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skeeks-cms/cms-assets-auto-compress
Component automatically compile js and css files (on request)
https://github.com/skeeks-cms/cms-assets-auto-compress
Last synced: 26 days ago
JSON representation
Component automatically compile js and css files (on request)
- Host: GitHub
- URL: https://github.com/skeeks-cms/cms-assets-auto-compress
- Owner: skeeks-cms
- License: bsd-3-clause
- Created: 2015-08-05T21:42:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-27T12:26:50.000Z (9 months ago)
- Last Synced: 2024-11-14T18:45:19.503Z (about 2 months ago)
- Language: PHP
- Homepage: http://cms.skeeks.com
- Size: 41 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Component automatically compile js and css files (on request)
===================================Installation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist skeeks/cms-assets-auto-compress "*"
```or add
```
"skeeks/cms-assets-auto-compress": "*"
```Configuration app
----------```php
'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
--------
* [Web site](http://en.cms.skeeks.com)
* [Web site (rus)](http://cms.skeeks.com)
* [Author](http://skeeks.com)
* [ChangeLog](https://github.com/skeeks-cms/cms-assets-auto-compress/blob/master/CHANGELOG.md)
* [Page on SkeekS CMS Marketplace](http://marketplace.cms.skeeks.com/solutions/instrumentyi/razrabotchiku/75-komponent-optimizatsii-koda-js-i-css-d)___
> [![skeeks!](https://skeeks.com/img/logo/logo-no-title-80px.png)](https://skeeks.com)
SkeekS CMS (Yii2) — quickly, easily and effectively!
[skeeks.com](https://skeeks.com) | [cms.skeeks.com](https://cms.skeeks.com)