xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

PostCSS All In One

PostCSS All In One

https://postcss.org/

https://www.webpackjs.com/loaders/postcss-loader/

https://github.com/postcss/postcss-load-config

Autoprefixe

https://github.com/postcss/autoprefixer

Parse CSS and add vendor prefixes to rules by Can I Use

.postcssrc

Create a .postcssrc file in JSON or YAML format

It's recommended to use an extension (e.g .postcssrc.json or .postcssrc.yml) instead of .postcssrc

postcss.config.js


module.exports = {
    plugins: [
        require('precss'),
        require('autoprefixer')
    ]
}


refs



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2021-01-12 21:16  xgqfrms  阅读(84)  评论(0编辑  收藏  举报