项目配置了 postcsss 的配置进行当前 vw\vh 的 H5 的配置
运行 npm run eject 需要手动的把 config/webpack.config.js 的 110 行 postcss 的 plugins 删除、采用 postcss.config.js 进行覆盖
npm install
npm run start
npm run build
移动端 vw 适配方案
vue-cli H5 适配 多页配置
| 作者 | yangfan19 |
|---|---|
| segmentfault | 点击我 |
| github | 点击我 |