chore: move lazy and standalone tests to subdirectories (#27881)

This commit is contained in:
Liam DeBeasi
2023-08-01 15:44:26 -04:00
committed by GitHub
parent af68808e69
commit 291b1310a6
147 changed files with 19 additions and 3 deletions

View File

@@ -11,6 +11,6 @@ export const routes: Routes = [
*/
redirectTo: 'lazy'
},
{ path: 'lazy', loadChildren: () => import('./app-lazy/app.module').then(m => m.AppModule) },
{ path: 'standalone', loadChildren: () => import('./app-standalone/app.routes').then(m => m.routes) }
{ 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) }
];

View File

@@ -43,7 +43,7 @@ export const routes: Routes = [
{ path: 'router-link-page', component: RouterLinkPageComponent },
{ path: 'router-link-page2/:id', component: RouterLinkPage2Component },
{ path: 'router-link-page3', component: RouterLinkPage3Component },
{ path: 'standalone', loadComponent: () => import('../standalone/standalone.component').then(c => c.StandaloneComponent) },
{ path: 'standalone', loadComponent: () => import('../routing-standalone/standalone.component').then(c => c.StandaloneComponent) },
{ path: 'tabs', redirectTo: '/lazy/tabs/account', pathMatch: 'full' },
{
path: 'navigation',

View File

@@ -0,0 +1,4 @@
<ion-content>
<p>This is a standalone component rendered from a route.</p>
<ion-button routerLink="/lazy">Return home</ion-button>
</ion-content>

Some files were not shown because too many files have changed in this diff Show More