-
一个px值转vw的VSCode插件
-
an VSCode extension convert 'px' to 'vw'
-
Author: Loong zupeng
-
Email: lzp0301@126.com
- 1.npm install vsce -g
- 2.npm install
- 3.vsce package
- 4.Done! Check your project directory
ext install px2vw
- Auto snippet
- Shortcuts:
ctrl+p ctrl+r
- CLI: Press
F1
, enterpx2vw
- Install 'px2vw-0.0.1.vsix' from VSCode Extensions
html vue css less scss sass stylus
px2vw.baseWidth
Base viewport width, default: 16px2vw.fixedDigits
Length of digits,default: 6px2vw.autoRemovePrefixZero
Auto remove prefix, default: true
Restart VSCode [!Important]