Compiles LESS for Humpty

A humpty plugin that compiles LESS.

Лицензия

Лицензия

Группа

Группа

co.mewf.humpty
Идентификатор

Идентификатор

humpty-less
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Compiles LESS for Humpty
A humpty plugin that compiles LESS.
Организация-разработчик

Организация-разработчик

mewf
Система контроля версий

Система контроля версий

https://github.com/mwanji/humpty-less

Скачать humpty-less

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/co.mewf.humpty/humpty-less/ -->
<dependency>
    <groupId>co.mewf.humpty</groupId>
    <artifactId>humpty-less</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/co.mewf.humpty/humpty-less/
implementation 'co.mewf.humpty:humpty-less:0.1.0'
// https://jarcasting.com/artifacts/co.mewf.humpty/humpty-less/
implementation ("co.mewf.humpty:humpty-less:0.1.0")
'co.mewf.humpty:humpty-less:jar:0.1.0'
<dependency org="co.mewf.humpty" name="humpty-less" rev="0.1.0">
  <artifact name="humpty-less" type="jar" />
</dependency>
@Grapes(
@Grab(group='co.mewf.humpty', module='humpty-less', version='0.1.0')
)
libraryDependencies += "co.mewf.humpty" % "humpty-less" % "0.1.0"
[co.mewf.humpty/humpty-less "0.1.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
com.github.sommeri : less4j jar 1.8.4
co.mewf.humpty : humpty jar 0.1.0

test (2)

Идентификатор библиотеки Тип Версия
org.webjars : bootstrap jar 3.3.1
org.slf4j : slf4j-nop jar 1.7.10

Модули Проекта

Данный проект не имеет модулей.

humpty-less

Compiles LESS files in the humpty pipeline.

Installation

Requires Java 8 and Maven.

Add the following dependency to your POM:

<dependency>
  <groupId>co.mewf.humpty</groupId>
  <artifactId>humpty-less</artifactId>
  <version>1.0.0-SNAPSHOT</version>
</dependency>

Usage

Add LESS files to humpty bundles:

"styles.css" = ["app.less"]

Imports

Imports are resolved relative to the file they are declared in. If it cannot be resolved, then it is considered to be pointing at a WebJar, as in the following example.

Bootstrap Example

To integrate Bootstrap and use custom values for its variables, you could have the following in the above-mentioned app.less, (if it is in src/main/resources/assets):

@import "bootstrap/3.3.1/less/bootstrap.less";

@gray-base: #111;
@link-color: @brand-danger;

and so on for the rest of your variables.

Версии библиотеки

Версия
0.1.0