Skip to content

Instantly share code, notes, and snippets.

@gordonbisnor
Created November 20, 2014 16:36
Show Gist options
  • Save gordonbisnor/e719c95b2e690a9b8903 to your computer and use it in GitHub Desktop.
Save gordonbisnor/e719c95b2e690a9b8903 to your computer and use it in GitHub Desktop.
/*
this is what i have in brocfile.js:
*/
app.import('bower_components/bootstrap-sass- official/assets/javascripts/bootstrap.js') ;
// Put the bootstrap fonts in the place that the bootstrap css expects to find them.
var pickFiles = requi re('broccoli-static-compiler');
var bootstrapFonts = pickFiles('bower_components/bootstrap-sass - official/assets/fon ts/bootstrap', {
srcDir: '/',
destDir: '/f onts/bootstrap'
});
// Merge the bootstrapFonts with the ember app tree
var mergeTrees = require('broccoli-merge-trees');
module.exports = mergeTrees([app.toTree(),bootstrapFonts]);
/*
this is what i have in bower.json:
*/
"bootstrap-sass-official": "~3.2.0+2",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment