# naivePx2Rem naiveUI 组件库 px 转 rem 插件,默认单位100,即1rem=100px,config 可自定义默认单位 ## run 1 ``` 1. yarn 2. edit config.js 3. node ./index.js ``` ## run 2 ``` 1. edit config.js 2. ./px2rem ``` ## other ``` 1. 修改config.js 添加需要转换的组件名称,支持N开头 2. yarn build 即可打包成exe ```