your-remnpm i your-remrem(psdWidth)psdWidth <number> 设计稿宽度。默认 750移动端页面自动适配脚本1rem = 100px,比如设计稿中 150px,在 css 中就写 1.5remimport rem from 'your-rem' // 默认 750 rem() // 指定 640 rem(640)2 dependents8 versions@everything-registry/sub-chunk-3209your0.2.08 years ago0.1.88 years ago0.1.78 years ago0.1.68 years ago0.1.58 years ago0.1.48 years ago0.1.38 years ago0.1.28 years ago