@shull wrote:
We need to load data from the server to determine what some routes will be.
Tried to do
Router.map
inside anafterModel
hook in a route and found that it does not successfully add the route.Do we need to fetch data in an initializer to do this or… is there some other method to call to add routes at request time? We ideally need a way that will be compatible with fastboot as well. But basically some routes need to be defined based on the URL being hit.
Ember Engines seem to need this lazy-loading route capability as well, however it seems like they can hook in during app initialization, so not sure this will be sufficient for us…
Posts: 5
Participants: 3