JohnDel
JohnDel

Reputation: 2102

Am I using ember-cli-bootstrap-sass wrong?

I have a new ember-cli 0.2.0 app and I am trying to put bootstrap. The steps I followed are: 1) Install this npm package https://www.npmjs.com/package/ember-cli-bootstrap-sass 2) installed broccoli-sass 3) Put @import "bootstrap"; in my app.scss file.

I am getting the error: file to import not found or unreadable: bootstrap . Should I use bower to download @bootstrap? If yes, what is the purpose of this package?

Upvotes: 1

Views: 670

Answers (1)

Joe Czucha
Joe Czucha

Reputation: 4295

Run:

bower install bootstrap-sass

and once you have bootstrap-sass in the bower_components directory, include it in your app.scss using:

@import "../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap";

rather than

@import "bootstrap";

Upvotes: 1

Related Questions