ionic 5 continue to next page code example
Example 1: router navigate ionic
Login
Go to detail
Example 2: router navigate ionic
RouterModule.forRoot([
{ path: '', component: LoginComponent },
{ path: 'detail', component: DetailComponent }
]);