This is an sample ember app with an in-repo addon, to reproduce an error related to addon's before/after config with embroider build.
- There is an in-repo addon
i-should-run-after-ember-data
used in this app, and it is defined to run afterember-data
. - In-repo addon
i-should-run-after-ember-data
extends store from ember-data, with a new functiongetCustomStoreData
- The current route
foo
callsthis.store.getCustomStoreData
as the return value ofmodel
, which should be rendered in route/foo
.
- clone the repo
cd before-after-addon-config
yarn install
EMBROIDER=1 ember s
- Go to route
/foo
, you should see the textgetCustomStoreData called from i-should-run-after-ember-data
at the bottom of the page.