ember-cli добавление зависимостей с помощью bower

Итак, я хочу поиграть с typeahead в приложении ember.

Я получаю Cli приложение и работает, затем я бегу

bower install typeahead.js

Я вижу, что код был помещен в bower_components.

Затем я добавляю следующее в brocfile:

/* global require, module */

var EmberApp = require('ember-cli/lib/broccoli/ember-app');

var app = new EmberApp();

// Use `app.import` to add additional libraries to the generated
// output files.
//
// If you need to use different assets in different
// environments, specify an object as the first parameter. That
// object's keys should be the environment name and the values
// should be the asset to use in that environment.
//
// If the library that you are including contains AMD or ES6
// modules that you would like to import into your application
// please specify an object with the list of modules as keys
// along with the exports of each module as its value.

app.import('bower_components/typeahead.js/dist/typeahead.bundle.min.js');

module.exports = app.toTree();

Однако это не работает - я получаю

Uncaught ReferenceError: Bloodhound is not defined 

Из прочтения документации - достаточно установить bower и добавить строки в brocfile? Я читаю это неправильно или это ошибка?

Я создал публичный репозиторий GIT, который показывает эту проблему:

https://github.com/wayne-o/ember-cli-bootstrap

Все, что я сделал, это:

ember new bootstrap-test
bower install bootstrap

А потом добавил:

app.import('bower_components/bootstrap/dist/css/bootstrap.css');
app.import('bower_components/bootstrap/dist/js/bootstrap.js');

в Brockfile ...

Это не сработало ...

Ответы на вопрос(1)

Ваш ответ на вопрос