Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Latest commit

 

History

History
69 lines (41 loc) · 1.65 KB

README.md

File metadata and controls

69 lines (41 loc) · 1.65 KB

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.