open-index/open-npm huggingface dataset:
npm package: @opendt/less-plugin-rpx
Description: rpx function to support wx-mini rpx unit
Author: Yeo Yang
Latest version: 1.0.0

# less-plugin-rpx
Add rpx function to support wx-mini rpx unit.

```less
.avatar {
  width: rpx(100);
  height: rpx(100);
  border-radius: rpx(10);
}
```
becomes:
```
.avatar {
  width: 100rpx;
  height: 100rpx;
  border-radius: 10rpx;
}
```

## Installation
```bash
npm i @opendt/less-plugin-rpx --save-dev
```