Skip to content

Commit

Permalink
Merge pull request #930 from mydea/fn/pods-route-splitting-docs
Browse files Browse the repository at this point in the history
add note on route splitting with pods in readme
  • Loading branch information
ef4 authored Oct 11, 2021
2 parents 1606237 + ebbcbe3 commit e717ed9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ In your `router.js` file, import our router instead of the stock one:
+import EmberRouter from '@embroider/router';
```

## Notes on usage with pods

If you use the pod file layout for your routes, you have to make sure to set a non-undefined `podModulePrefix` in your `config/environment.js`. `podModulePrefix: ''` is also allowed. Otherwise, your pod routes will not be picked up by Embroider.

## License

This project is licensed under the [MIT License](LICENSE.md).

0 comments on commit e717ed9

Please sign in to comment.