Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/stiekel/wxss2less

rename wxss file to less / wxss 文件批量重命名 less 的小工具
https://github.com/stiekel/wxss2less

less wepy weui wxss

Last synced: 9 days ago
JSON representation

rename wxss file to less / wxss 文件批量重命名 less 的小工具

Awesome Lists containing this project

README

        

# wxss2less

`wepy` project must import `less` file, but `weui-wsss` only provide `wxss` files, `wxss2less` can rename file name to `less`, and replace the `.wxss` to `.less` in `@import`.

## Install

```sh
npm install -g wxss2less
```

## Usage

Go to wxss style file folder, and run:

```sh
wxss2less
```

or you can give the wxss folder as a argument like this:

```sh
wxss2less src/style
```

it's done!