- Add this to your
devDependenciesinpackage.json.
"ember-cli-replace": "^0.3.0",
- Add the
replaceconfig ofember-cli-buildto yours. - Replace
baseURLwithrootURLin/config/environment.js. - Configure router to use
rootURL, as seen inrouter.js - Update your
app/index.htmlas perapp-index.htmlbelow, such that you just append@@in place ofassets. This will be used as the replace instruction when compiling. For some reason regex doesn't work as expected.