Ember AddOns

Before adding a new requirement to the project, check Django Requirements

ember-cli-flash

Simple, highly configurable flash messages, https://github.com/poteto/ember-cli-flash

ember-cli-sass

Update ember-cli-build.js and add sassOptions:

let app = new EmberApp(defaults, {
  // Add options here
  sassOptions: {
    extension: 'scss'
  }
});

Note

To get started with sass in an Ember project, I renamed app/styles/app.css to app/styles/app.scss and appended all my css files into app.scss.

For more information, see sass.

ember-concurrency

Allows you to write concise, worry-free, cancelable, restartable, asynchronous tasks. http://ember-concurrency.com

ember-cp-validations

To validate models, http://offirgolan.github.io/ember-cp-validations/

ember-django-adapter

We use the https://github.com/dustinfarris/ember-django-adapter to connect to Django REST Framework.

ember-file-upload

Note

I couldn’t get ember-file-upload working, so ended up using https://github.com/knownasilya/ember-plupload (I think Tim has ember-file-upload working).

Here is some sample code plan-detail.hbs

ember-font-awesome

To use the Font Awesome icons.

ember-modal-dialog

I have started using this addon for a simple confirmation dialog.

For source code see:

ember-moment

Tip

To set-up a date field in an Ember model, see Date / Time.

I had to install ember-cli-moment-shim as well as ember-moment:

yarn add ember-moment ember-cli-moment-shim

e.g.

{{moment-format note.created "DD/MM/YYYY HH:mm"}}

ember-route-action-helper

Recommended by https://twitter.com/EmmaDelescolle to bubble closure actions in routes.