定制 singrana/yii2-less 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

singrana/yii2-less

Composer 安装命令:

composer require singrana/yii2-less

包简介

Yii2 less compiler to assets

README 文档

README

Yii2 less support

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist singrana/yii2-less "*"

or add

"singrana/yii2-less": "*"

to the require section of your composer.json file.

Usage

Add or modify your Yii2 application config

'components'    =>
[
	'assetManager'					=>
	[
		'converter'					=>
		[
			'class'					=>	'singrana\assets\Converter',
		],
	...
	],
	...
];

after this, you can usage in you bundles, for example:

	public $css =
	[
		'css/style.less',
	];

统计信息

  • 总下载量: 14.21k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-07-26