我使用 ember-cli-bootstrap-sass 错了吗?

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

我有一个新的 ember-cli 0.2.0 应用程序,我正在尝试安装 bootstrap。我遵循的步骤是: 1) 安装这个 npm 包 https://www.npmjs.com/package/ember-cli-bootstrap-sass 2) 安装 broccoli-sass 3) 将 @import "bootstrap"; 放入我的 app.scss 文件中。

我收到错误:file to import not found or unreadable: bootstrap。我应该使用 bower 下载 @bootstrap 吗?如果是,这个包的目的是什么?

运行:

bower install bootstrap-sass

一旦您在 bower_components 目录中有了 bootstrap-sass,请使用以下方法将其包含在您的 app.scss 中:

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

而不是

@import "bootstrap";