Socket
Socket
Sign inDemoInstall

postcss-bootstrap-wxss

Package Overview
Dependencies
14
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    postcss-bootstrap-wxss

PostCSS plugin for convert bootstrap css file to wxss


Version published
Weekly downloads
5
increased by400%
Maintainers
1
Install size
1.62 MB
Created
Weekly downloads
 

Readme

Source

PostCSS bootstrap Wxss

[PostCSS] plugin for wxss.

在postcss-mpvue-wxss基础上加入针对 bootstrap4的一些适配。

备注

需要和postcss-mpvue-wxss一起使用

##用法

  postcss([ require('postcss-mpvue-wxss') ])

###在Webpack中使用

  module.exports = {
    plugins: [
      require('autoprefixer')({
                                 remToRpx: 35  // 这个参数可以用来调整转换rem单位到rpx单位时使用的比例
                              })
    ]
  }

参考wepy-plugin-bootstrap 以及 wepy-bootstrap-demo

Keywords

FAQs

Last updated on 04 Jun 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc