mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-13 13:08:47 +08:00
## 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>
19 lines
470 B
TypeScript
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)
|
|
}
|
|
];
|