O'Reilly logo

Mastering Ember.js by Mitchel Kelonye

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing components

A component can define remote components as dependencies. A remote component is an external Git repository that is hosted in either Github or BitBucket. Some versions of components allow the installation of components from other remote components as long as they adhere to a <username>/<repo> format. In this case, the app component defines one dependency that will be installed from http://github.com/kelonye/ember:

"dependencies": { 
  "kelonye/ember": "1.7.0" 
}

The game component, on the other hand, also defines three dependencies:

"dependencies": { 
  "yields/keycode": "1.1.0" ,
  "component/raf": "1.1.3", 
  "yields/store": "0.2.0"
}

These components can be installed into the components/ relative directory by invoking the following in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required