How do I deploy Ember.js app developed with ember-cli on github pages?
问题 I have successfully created a small application using ember-cli. I tried pushing it to gh-pages branch of my github repo but it shows error in browser console Uncaught ReferenceError: require is not defined loading of vendor.js and vendor.js files from dist/assets is also failing. I'm not able to run standalone ember app from dist folder in local machine as well, same errors. has anyone tried it. if yes how to do it correctly? 回答1: Since December 2014 there is also an ember-cli addon for this