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
- Host: GitHub
- URL: https://github.com/dacejs/dace-plugin-less
- Owner: dacejs
- Created: 2019-01-29T08:51:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-30T06:46:07.000Z (about 6 years ago)
- Last Synced: 2025-02-22T17:50:10.827Z (2 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# dace-plugin-less
该插件让 less 和 dace 能一起工作。
[](https://travis-ci.com/dacejs/dace-plugin-less)
[](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
}]
]
};
```