edrpx-loader
v1.0.2
Published
32rpx=1rem=16px
Downloads
2
Readme
cnpm install edrpx-loader --save-dev cnpm i -D edrpx-loader
试用范围设计单位ps转换为rem 设计稿750px手机端375px 100ps=1rem=50px;ps to rem
vue根/build/utils.js 文件
options = options || {} const edrpxLoader = { loader: 'edrpx-loader', options: { sourceMap: options.sourceMap } }
function generateLoaders (loader, loaderOptions) { const loaders = options.usePostCSS ? [cssLoader,edrpxLoader, postcssLoader] : [cssLoader,edrpxLoader]
npm login npm publish