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

charlesfries/ember-simple-bootstrap

Repository files navigation

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.