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
f188df00a6
|
9 months ago | |
---|---|---|
public | 9 months ago | |
src | 9 months ago | |
.env.development | 9 months ago | |
.env.production | 9 months ago | |
.gitignore | 9 months ago | |
README.md | 9 months ago | |
babel.config.js | 10 months ago | |
package-lock.json | 9 months ago | |
package.json | 9 months ago | |
vue.config.js | 9 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 "进行样式覆盖。