Creating a new ember-cli app with bootstrap

Creating a new ember-cli app with Bootstrap


Steps:

  1. Install ember-cli
    
    sudo dnf install nodejs npm
    npm install -g bower
    npm install -g phantomjs
    npm install -g ember-cli
    
  2. Create new ember application
    
    ember new $NAME
    cd $NAME
    npm install
    bower install
    
  3. Install 'bootstrap'
    
    bower install --save-dev bootstrap
    
  4. Add bootstrap dependency to Brocfile.js
    
    app.import('bower_components/bootstrap/dist/css/bootstrap.min.css');
    app.import('bower_components/bootstrap/dist/js/bootstrap.min.js');