Files
ionic-framework/packages/angular/test/base/src/app/app.routes.ts
Brandy Smith 0893703769 test(angular): add a landing page to go between lazy and standalone apps (#30286)
## What is the new behavior?
Adds a landing page to the Angular test app to make it easier to get to
and debug standalone.

## Does this introduce a breaking change?
- [ ] Yes
- [x] No

Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
2025-03-26 20:55:04 +00:00

19 lines
470 B
TypeScript

import { Routes } from '@angular/router';
import { AppLandingComponent } from './app-landing/app-landing.component';
export const routes: Routes = [
{
path: '',
pathMatch: 'full',
component: AppLandingComponent
},
{
path: 'lazy',
loadChildren: () => import('./lazy/app-lazy/app.module').then(m => m.AppModule)
},
{
path: 'standalone',
loadChildren: () => import('./standalone/app-standalone/app.routes').then(m => m.routes)
}
];