Webpack px2rem

the web side is developed with vue, and then a preview page needs to be converted to rem for mobile use. How to configure webpack?

`function generateLoaders (loader, loaderOptions) {

const loaders = options.usePostCSS ? [cssLoader, postcssLoader, px2remLoader] : [cssLoader, px2remLoader]

if (loader) {
  loaders.push({
    loader: loader + "-loader",
    options: Object.assign({}, loaderOptions, {
      sourceMap: options.sourceMap
    })
  })
}

// Extract CSS when that option is specified
// (which is the case during production build)
if (options.extract) {
  return ExtractTextPlugin.extract({
    use: loaders,
    fallback: "vue-style-loader",
    publicPath: "../../"
  })
} else {
  return ["vue-style-loader"].concat(loaders)
}

}

return {

css: generateLoaders(),
postcss: generateLoaders(),
less: generateLoaders("less"),
sass: generateLoaders("sass", { indentedSyntax: true }),
scss: generateLoaders("sass"),
stylus: generateLoaders("stylus"),
styl: generateLoaders("stylus")

} `

now that this configuration causes all pages to be converted from px to rem, the style seen on the web side becomes smaller. Is there any way to make one page, such as render.vue, perform rem conversion while the other pages do not change? Or if you have any other ideas, please give me some advice on 3Q

.
Dec.31,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45927-44b5a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45927-44b5a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?