|
@@ -1,33 +1,34 @@
|
|
|
-import { NgModule } from '@angular/core';
|
|
|
-import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
|
|
|
-
|
|
|
-const routes: Routes = [
|
|
|
- {
|
|
|
- path: '',
|
|
|
- loadChildren: () => import('./tabs/tabs.module').then(m => m.TabsPageModule)
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'tab4',
|
|
|
- loadChildren: () => import('./tab4/tab4.module').then( m => m.Tab4PageModule)
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'login',
|
|
|
- loadChildren: () => import('./login/login.module').then( m => m.LoginPageModule)
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'feedback',
|
|
|
- loadChildren: () => import('./feedback/feedback.module').then( m => m.FeedbackPageModule)
|
|
|
- },
{
|
|
|
+import { NgModule } from '@angular/core';
|
|
|
+import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
|
|
|
+
|
|
|
+const routes: Routes = [
|
|
|
+ {
|
|
|
+ path: '',
|
|
|
+ loadChildren: () => import('./tabs/tabs.module').then(m => m.TabsPageModule)
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'tab4',
|
|
|
+ loadChildren: () => import('./tab4/tab4.module').then( m => m.Tab4PageModule)
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'login',
|
|
|
+ loadChildren: () => import('./login/login.module').then( m => m.LoginPageModule)
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'feedback',
|
|
|
+ loadChildren: () => import('./feedback/feedback.module').then( m => m.FeedbackPageModule)
|
|
|
+ },
|
|
|
+ {
|
|
|
path: 'settings',
|
|
|
loadChildren: () => import('./settings/settings.module').then( m => m.SettingsPageModule)
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-];
|
|
|
-@NgModule({
|
|
|
- imports: [
|
|
|
- RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
|
|
|
- ],
|
|
|
- exports: [RouterModule]
|
|
|
-})
|
|
|
-export class AppRoutingModule {}
|
|
|
+
|
|
|
+];
|
|
|
+@NgModule({
|
|
|
+ imports: [
|
|
|
+ RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
|
|
|
+ ],
|
|
|
+ exports: [RouterModule]
|
|
|
+})
|
|
|
+export class AppRoutingModule {}
|