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.

6 lines
506 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## 项目启动 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 "进行样式覆盖。