mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore: move lazy and standalone tests to subdirectories (#27881)
This commit is contained in:
@@ -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) }
|
||||
];
|
||||
|
||||
@@ -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',
|
||||
@@ -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
Reference in New Issue
Block a user