Skip to content

wsq815/flexible-postcss-pxtorem-demo

Repository files navigation

flexible-postcss-pxtorem-demo

完美适配移动端 (2018/10/9)

增加淘宝移动端适配方案插件amfe-flexible 和 px 转 rem postcss-pxtorem 插件
https://github.com/amfe/lib-flexible
https://www.npmjs.com/package/postcss-pxtorem
main.js 文件
https://github.com/wsq815/flexible-postcss-pxtorem-demo/blob/master/src/assets/1.png
.postcssrc.js 文件
https://github.com/wsq815/flexible-postcss-pxtorem-demo/blob/master/src/assets/2.png

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

About

flexible-postcss-pxtorem-demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published