- Add this to your
devDependencies
inpackage.json
.
"ember-cli-replace": "^0.3.0",
- Add the
replace
config ofember-cli-build
to yours. - Replace
baseURL
withrootURL
in/config/environment.js
. - Configure router to use
rootURL
, as seen inrouter.js
- Update your
app/index.html
as perapp-index.html
below, 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.