You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

app-routing.module.ts 417B

6 月之前
12345678910111213141516
  1. import { NgModule } from '@angular/core';
  2. import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
  3. const routes: Routes = [
  4. {
  5. path: '',
  6. loadChildren: () => import('./tabs/tabs.module').then(m => m.TabsPageModule)
  7. }
  8. ];
  9. @NgModule({
  10. imports: [
  11. RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
  12. ],
  13. exports: [RouterModule]
  14. })
  15. export class AppRoutingModule {}