Skip to content

Commit

Permalink
Merge pull request #68 from iezer/patch-1
Browse files Browse the repository at this point in the history
Update README for module unification
  • Loading branch information
rwjblue committed Mar 10, 2018
2 parents f1a47c7 + c3fb782 commit 9dc3100
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default Resolver.extend({
});
```

And in `src/main.js` be sure to load initializers in the `app/` directory
In `src/main.js` be sure to load initializers in the `app/` directory
(possibly added by an addon) via:

```js
Expand All @@ -95,6 +95,12 @@ loadInitializers(App, config.modulePrefix+'/src/init');
loadInitializers(App, config.modulePrefix);
```

Finally, in `tests/test-helper.js`, load the app from `../src/main`

```js
import Application from '../src/main';
```

### Important Notes

Known caveats:
Expand Down

0 comments on commit 9dc3100

Please sign in to comment.