https://github.com/wyyxdgm/lab
tools for frontend development
https://github.com/wyyxdgm/lab
css-variable dom2scss lanhu2css
Last synced: 3 months ago
JSON representation
tools for frontend development
- Host: GitHub
- URL: https://github.com/wyyxdgm/lab
- Owner: wyyxdgm
- Created: 2020-02-04T02:24:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-17T10:57:25.000Z (almost 2 years ago)
- Last Synced: 2025-10-04T03:38:25.433Z (8 months ago)
- Topics: css-variable, dom2scss, lanhu2css
- Language: SCSS
- Size: 6.01 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README-en.md
Awesome Lists containing this project
README
# Frontend Tools
## Initialization
```
npm install
```
## Launch
```bash
gulp # or use `gulp watchdev`
```
## Functions
| Description | Source Files | Generated Files |
| --------------------------------------------------------------------------------------- | ------------ | --------------- |
| Generate CSS from text copied from Lanhu in its early phase when it didn't support CSS | src/scss.txt | dist/scss.scss |
| Generate nested LESS class hierarchy from HTML nodes | src/dom.html | dist/dom.css |
| Generate LESS from text copied from Lanhu in its early phase when it didn't support CSS | \*.css | \*.less |
| Convert SCSS to H5 version of SCSS | src/h5.scss | dist/h5.scss |
| Convert WXML to Vue | \*.vue.wxml | \*.wxml.vue |
| Convert rpx in WXSS to rem in LESS | \*.less.wxss | \*.wxss.less |