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
redirectTo doesn't work in children routes config #1461
Comments
Hi @liuwei108, Something more, we check the attached angular project as well. In it, we found that on the first load of the Angular app, it will redirect to the Also to navigate to the
|
Hello @tsonevn, Thanks a lot for the article you mentioned. |
Thank its works ! thank u mate |
I have below routes configured:
Note the line:
{ path: "", redirectTo:"body", pathMatch: "full" }
I expected the path /home will show the BodyComponent, but I can't see the content of BodyComponent it in the page.
Please check the sample in playground.
I also verify the same routes setting in a pure angular 6.0 environment, it works fine.
check the ng app
SO I believe this issue is specific to nativescript, does Nativescript don't support redirectTo in children routes?
The text was updated successfully, but these errors were encountered: