承接 zanemiller/less-one 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

zanemiller/less-one

Composer 安装命令:

composer require zanemiller/less-one

包简介

Automatically creates a single .css file from a collection of .less files using lessphp

README 文档

README

Automatically creates a single .css file from a collection of .less files using lessphp

Much thanks to jtgrimes for the less4laravel packages, upon which most of this package is based: https://github.com/jtgrimes/less4laravel

More thanks due to leafo for the lessphp packages, which this package would be useless without: https://github.com/leafo/lessphp

Installation

Add zanemiller/less-one as a requirement to composer.json:

{
	"require": {
    	"zanemiller/less-one": "0.2.*"
	}
}

Run the composer update utility with composer update or install with composer install

You now register the package with Laravel. Open app/config/app.php and add find the providers section and add:

'Zanemiller\LessOne\LessOneServiceProvider'

Next find the aliases section and add:

	'LessOne' => 'Zanemiller\LessOne\LessOneFacade'

To use LessOne with the default settings you will also have to create three folders (if they do not already exist in your project).

In the /app folder create two folders called css and less respectivly.

Finally in /public create a folder called css

So your final file structure should include:

/app
    /css
    /less
/public
    /css

Configuration

First publish a copy of the configuration file with Aritisan:

$ php artisan config:publish zanemiller/less-one

The settings files can now be found in /app/config/packages/zanemiller/less-one/config.php

The details of the configuration file can be found in: https://github.com/ZaneMiller/LessOne/wiki/Usage

Usage

LessOne couldn't be easier to use simply call:

LessOne::make()

Where you want the <link> tag to be inserted in your view.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-01-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固