Nougat Predominant Middleware

    less-plugin-dt-rpx

    1.1.1 • Public • Published

    less-plugin-dt-rpx

    Add rpx function to support wx-mini rpx unit.

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

    becomes:

    .avatar {
      width: 100rpx;
      height: 100rpx;
      border-radius: 10rpx;
    }
    

    Installation

    npm i less-plugin-dt-rpx --save-dev

    Install

    npm i less-plugin-dt-rpx

    DownloadsWeekly Downloads

    1

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    2.43 kB

    Total Files

    4

    Last publish

    Collaborators

    • yeoyang