Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-bootstrap-4

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-bootstrap-4

The default blueprint for ember-cli addons.

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ember-bootstrap-4

This is not maintained.

This addon is based off ember-sass-bootstrap by ef4.

This is an Ember addon that makes Bootstrap 4 alpha available in your Ember app. Instead of just importing in the whole library, it provides as much or as little as you need, and it lets you easily customize Bootstrap's variables.

It is also bower-dependency-free, by loading bootstrap-sass via npm instead. This avoids the need for it to reach out and mess with your own bower.json file.

Installation

Bootstrap 4 switched from less to sass, so it expects that you also have ember-cli-sass installed.

Bootstrap 4 also depends on tether.js. Please install it using bower.

bower install tether
ember install ember-cli-sass
ember install ember-bootstrap-4

Usage: Stylesheets

If you want all of Bootstraps style, just say:

@import 'bootstrap';

in your app.scss file. You can customize Bootstrap's variables by setting them before importing:

$brand-primary: #ff0000;
@import 'bootstrap';

You can also choose to import only the specific pieces that you need. For example:

@import 'bootstrap/buttons';

Usage: Javascript Plugins

By default, we will include all of Bootstrap's Javascript in your application. But you can control this from your ember-cli-build.js file:

  new EmberApp(defaults, {
    bootstrap: {
      plugins: ['collapse']
    }
  });

Keywords

FAQs

Package last updated on 10 Sep 2016

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc