ember.js
ember.js copied to clipboard
Change the mount API to accept a function for defining engine routes
This change updates the mount API method to accept a function similar to how the route API currently works so that engine routes can be defined in the host application's router.js file.
Some Ember applications utilize in-repo ember-engines strictly for their lazy loading and code organization features and not for their isolation features.
In this context it makes more sense to define engine routes in the host application's router.js file.
Is this still relevant? It is a draft PR