Lib-flexible and px2rem-loader, in vue-cli are used for adaptive adaptation for the first time.

Use lib-flexible and px2rem-loader, in

vue-cli to set 1rem to 75px. But it shows 54px.

const px2remLoader = {
    loader: "px2rem-loader",
    options: {
      remUnit: 75
    }
  };

clipboard.png

Mar.09,2021

these are two things

  1. which benchmark is configured in px2remLoader to convert px to rem
  2. The font-size in
  3. style is calculated based on the screen resolution

has the landlord solved it? Solve


have you solved this problem?

Menu