Adding the created form to the migrated App
Last updated
Last updated
As you can see previously, it’s a very simple component. Now is necessary to add the component to the application to render it. And here, the Angular Router is very useful. On the app.component.html, we are going to add a router outlet
Now in the AppModule, we are going to add the Routes and the created component
From here, we need to display the frmNoWebMapComponent using the routing.
Then we are going to add button to redirect to the route of the Form. This routing mechanism can be added from any existing migrated component.
And with this, at clicking at the button, the frmNoWebMapComponent will be displayed.