You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhy521521
68190ce53a
|
10 months ago | |
---|---|---|
public | 10 months ago | |
src | 10 months ago | |
README.md | 10 months ago | |
babel.config.js | 10 months ago | |
package-lock.json | 10 months ago | |
package.json | 10 months ago | |
vue.config.js | 10 months ago | |
yarn.lock | 10 months ago |
README.md
项目启动 node-v10版本即可
项目适配 使用postcss-px2rem px2rem-loader进行rem适配
https://blog.csdn.net/Refuelefforts/article/details/113933784 实现原理:每次打包,webpack通过使用插件postcss-px2rem,帮我们自动将px单位转换成rem单位 前方有坑:UI框架部分组件使用JavaScript将css作为内联样式直接写在html标签内,打包适配时不会读取相关css,所以要配置相关样式,在style中需要" !important "进行样式覆盖。