-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configureRouter method is not triggered, when the template is loaded dynamically(from server) #659
Comments
In the response from your <template>
<require from="child-router/child-router"></require>
<child-router></child-router>
</template>
|
Hi @bigopon |
Hi @bigopon any update on this issue. |
This is a design limitation in v1 and it will not be solved in v1, however it will work just fine in v2. |
Hi all,
aurelia-framework - 1.3.0, aurelia-router - 1.7.1
home.js
home.html
response from api/home
child-router/child-router.html
child-router/child-router.js
As you can see above, I'm getting the template from the server and rendering it using InlineViewStrategy
and in the server response, I have required a component(child-router) and using it.
Inside the required component(child-router), I have routes defined in it, I have absorbed that all the life cycle events are triggered, but the configureRouter method is not triggered, am I doing, anything wrong here.
please help me out.
The text was updated successfully, but these errors were encountered: