An open API service indexing awesome lists of open source software.

https://github.com/dacejs/dace-plugin-less

Less plugin for dace
https://github.com/dacejs/dace-plugin-less

Last synced: about 2 months ago
JSON representation

Less plugin for dace

Awesome Lists containing this project

README

        

# dace-plugin-less

该插件让 less 和 dace 能一起工作。

[![Build Status](https://travis-ci.com/dacejs/dace-plugin-less.svg?branch=master)](https://travis-ci.com/dacejs/dace-plugin-less)
[![npm version](https://img.shields.io/npm/v/dace.svg?style=flat-square)](https://www.npmjs.com/package/dace-plugin-less)

## 安装
```
npm i dace-plugin-less
```

## 用法

在 `dace.config.js` 的插件中添加配置:

```js
module.exports = {
plugins: ['less']
};
```

还可以传入参数:

```js
module.exports = {
plugins: [
['less', {
strictMath: true,
noIeCompat: true
}]
]
};
```