Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 的小工具
- Host: GitHub
- URL: https://github.com/stiekel/wxss2less
- Owner: stiekel
- License: mit
- Created: 2017-12-13T01:34:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-13T02:32:39.000Z (about 7 years ago)
- Last Synced: 2024-12-28T20:47:12.527Z (14 days ago)
- Topics: less, wepy, weui, wxss
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-wepy - wxss2less:wxss文件批量重命名为less的小工具
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!