Socket
Book a DemoInstallSign in
Socket

bootstrap-3-stylus-webpack

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-3-stylus-webpack

Bootstrap 3 for Stylus using Webpack

0.1.0
latest
Source
npmnpm
Version published
Weekly downloads
5
150%
Maintainers
1
Weekly downloads
 
Created
Source

Bootstrap Stylus 3 Webpack

Bootstrap Stylus 3.3.7 for Webpack.

Installing

$ npm install bootstrap-3-stylus-webpack

Usage

Make sure you have your stylus-loader configured for .styl file extensions and url-loader for font files:

loaders: [{
  test: /\.styl$/,
  loader: `css-loader!stylus-loader`,
}, {
  test: /\.(png|woff|woff2|eot|ttf|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
  loader: 'url-loader'
}]

Then in one of your .js files (not .styl), probably in an entry file:

// for complete package - the styles and the javascript:
require('bootstrap-3-stylus-webpack')
// or individually:
require('bootstrap-3-stylus-webpack/styl/dropdowns.styl')
require('bootstrap-3-stylus-webpack/styl/mixins/alert.styl')
require('bootstrap-3-stylus-webpack/js/button.js')

JS files come with their jquery dependency fulfilled, so no need to configure it otherwise.

Original Authors

See Bootstrap Stylus 3.3.7

Keywords

bootstrap

FAQs

Package last updated on 05 Jan 2017

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.