Testing Ember Addons Locally

When developing Ember add-ons, you often want to test them in an existing project. Thankfully, the process is pretty easy:

With Yarn

ember install file:../path-to-addon

With npm

ember install ../path-to-addon

Because you are installing from a local path, ember-cli will not run the blueprints for you. As a final step, you will need to run ember g addon-name to complete the install process.

alex blom

Alex is the Managing Partner at Isle of Code and maintainer of ember-cordova.

About Isle of Code:

We’re a Javascript/Ember firm in Toronto + Chicago, est. 2012. We provide on-demand development for Mobile Apps, Websites, iBeacons/ hardware, existing codebases and team augmentation / Ember leadership.

read more