Consider I have a parent page and a child page, I want to load the child page into the router outlet on click of a button in parent page.
Please help me with some sample config.
Hi Vignesh,
You can refer to the Neutrinos documentation for guidance on using the router outlet. Please find the relevant link below:
Neutrinos Router Outlet Documentation
This should help you with loading the child page into the router outlet on button click from the parent page.
Let me know if you need further assistance.
Hi @Shamnad_KS I followed the documentation by creating the route like below and also in button router property I gave the child path but it is not working
please check routes once again and redirecting paths.
Hi @jampalalokesh ,I checked my path name is βchildβ and I gave the same in button router property, The URL path is changing in browser but content is not loading.
@Shamnad_KS can you please help
Hi @Vignesh-U
Could you please try replacing the current router outlet element with a regular <div>, and then add <router-outlet></router-outlet> directly in the HTML editor, as shown in the screenshot below?
If the issue still persists, feel free to reach out β we can connect and troubleshoot it together. No worries!
Hi @Shamnad_KS , Thanks, adding in HTML component works. But I am not sure why routerOutlet component is not working for me though.




