MikeV
MikeV

Reputation: 657

How to use ember.js master with bower

I am working in an ember-cli project where I want to use the master branch of ember.js for metal-views. I've gotten it to install the latest commit with the command below.

bower install '[email protected]:emberjs/ember.js.git#0654413ee8dd2830dec18a4bbbc078826731d84d'

Unfortunately this doesn't seem to work when I run ember server. It seems ember-cli expects a shim repository. Is there a master shim repository or is there a way to get ember.js master to work with ember-cli?

Upvotes: 0

Views: 151

Answers (1)

elrick
elrick

Reputation: 681

I think that newest canary build 1.8+ will start tracking ember metal-views. But you just have to make a few changes to your bower.json file to get metal-views. Again I believe that you can run off canary build. But this will work for now.

Remove: "ember": "1.7.0"

ReplaceWith: "ember": "components/ember#metal-views"

At the end of the add a , and append this to end the of file

Add: "resolutions": { "ember": "metal-views" }

Run Bower install from command line and you should be good.

Upvotes: 1

Related Questions