Open hy-brasil opened 9 years ago
My Brocfile.js looks like this: /* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var app = new EmberApp(); app.import('bower_components/bootstrap/dist/js/bootstrap.js'); app.import('bower_components/bootstrap/dist/css/bootstrap.css'); app.import('bower_components/ember-addons.bs_for_ember/dist/js/bs-core.min.js'); app.import('bower_components/ember-addons.bs_for_ember/dist/js/bs-modal.min.js'); app.import('bower_components/ember-addons.bs_for_ember/dist/js/bs-alert.min.js'); app.import('bower_components/ember-addons.bs_for_ember/dist/js/bs-button.min.js'); app.import('bower_components/ember-addons.bs_for_ember/dist/js/bs-progressbar.min.js'); app.import('bower_components/ember-addons.bs_for_ember/dist/js/bs-breadcrumbs.min.js'); app.import('bower_components/ember-addons.bs_for_ember/dist/js/bs-nav.min.js'); app.import('bower_components/d3/d3.js'); app.import('bower_components/ember-data/ember-data.js'); app.import('bower_components/jquery-cookie/jquery.cookie.js'); //app.import('bower_components/ember-components/dist/globals/main.js'); //app.import('bower_components/ember-utils/dist/globals/main.js');
//app.import('node_modules/ember-radio-button/app/components/radio-button.js'); //app.import('bower_components/ic-ajax/lib/main.js'); var mergeTrees = require('broccoli-merge-trees'); var pickFiles = require('broccoli-static-compiler');
var bootstrapTree = pickFiles('bower_components/bootstrap/fonts', { srcDir: '/', files: [ 'glyphicons-halflings-regular.svg', 'glyphicons-halflings-regular.ttf', 'glyphicons-halflings-regular.eot', 'glyphicons-halflings-regular.woff' ], destDir: '/fonts' });
// 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.
module.exports = mergeTrees([app.toTree(),bootstrapTree]);
Just wondering would this help at all? https://github.com/indexiatech/ember-idx-tabs/issues/2
Thanks
Hello, I have ember-idx-tabs installed and am very happy with it. So I decided to install the list as well. I did the: npm install --save-dev ember-idx-list
And did an ember build. Now I get an error immediately in the app:
Uncaught TypeError: undefined is not a function on initializers/idx-tabs.js:13
The problem goes away when I npm uninstall idx-list
ember version info: version: 0.1.2 node: 0.10.24 npm: 2.1.3
I have installed ember-addons.bs_for_ember. And am using bits from that... Should I have done that? Thanks