remithomas/rt-less
Composer 安装命令:
composer require remithomas/rt-less
包简介
ZF2 less css
README 文档
README
Less Css for ZF2 php using http://lessphp.gpeasy.com https://github.com/oyejorge/less.php
Installation
How to install ?
Using composer.json
{
"name": "zendframework/skeleton-application",
"description": "Skeleton Application for ZF2",
"license": "BSD-3-Clause",
"keywords": [
"framework",
"zf2"
],
"minimum-stability": "dev",
"homepage": "http://framework.zend.com/",
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "dev-master",
"remithomas/rt-less": "dev-master"
}
}
Activate the module :
application.config.php
<?php return array( 'modules' => array( 'Application', 'RtLess', ) ); ?>
Configuration
Cache
Create a folder in your public directory, named "cache"
config
move RtLess/config/rt-less.local.dist.php to your /config/autoload/rt-less.local.php And config as you want
Layout
lessCss("less/epragma/epragma.less"); ?>Thanks
统计信息
- 总下载量: 104
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-04-13