Start by creating a new Ember CLI application:
Now let’s get CoffeeScript working, it’s as easy as installing a Broccoli component
Now, let’s modify
router.coffee, it’ll look like this when you are done. Note the
export are wrapped in backticks as CoffeeScript doesn’t support ES6 Module syntax.
ember serve, and if all is successful, you should see “Welcome to Ember js”.
Like CoffeeScript, we’ll use a Broccoli package for Emblem JS.
Then we can convert
Restart the Ember server (
CTRL+C to stop,
ember serve to start), and again we should see “Welcome to Ember.js”
That’s all it takes. Broccoli makes theses tasks trivial.