Skip to content

yangfan-coder/react-app-h5

Repository files navigation

create-react-app 主流 H5 适配方案

项目配置了 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 点击我

About

cerate-react-app 脚手架适配vw/vh的HTML5方案

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors