🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

postcss-bootstrap-wxss

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-bootstrap-wxss

PostCSS plugin for convert bootstrap css file to wxss

1.0.4
latest
Source
npm
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
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

postcss

FAQs

Package last updated on 04 Jun 2019

Did you know?

Socket

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