How to configure Router Outlet component in SSD?

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.

5 Likes

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.

5 Likes

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


3 Likes

please check routes once again and redirecting paths.

6 Likes

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.


3 Likes

@Shamnad_KS can you please help

2 Likes

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!

1 Like

Hi @Shamnad_KS , Thanks, adding in HTML component works. But I am not sure why routerOutlet component is not working for me though.

2 Likes