npm.io
0.0.40 • Published 2 years ago

ember-simple-bootstrap

Licence
MIT
Version
0.0.40
Deps
10
Size
89 kB
Vulns
0
Weekly
0
Stars
1

ember-simple-bootstrap

npm version CI Ember Observer Score Netlify Status

This addon aims to be a near carbon copy representation of the latest Bootstrap features and components, using Ember components and modifiers.

This addon is only compatible with Boostrap 5+.

This addon is a work in progress. Pull requests are absolutely welcome.

Compatibility

  • Ember.js v4.4 or above
  • Ember CLI v4.4 or above
  • Node.js v14 or above

Installation

First, install the addon:

ember install ember-simple-bootstrap

Import Bootstrap JavaScript:

// app/app.js

import 'bootstrap';

Import Bootstrap Sass:

// ember-cli-build.js

const app = new EmberApp(defaults, {
  sassOptions: {
    includePaths: ['node_modules/bootstrap/scss'],
  },
});
// app/styles/app.scss

@import 'bootstrap';

Usage

Visit the documentation website to see examples.

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Keywords