import { NgModule } from '@angular/core'; import { Routes, RouterModule, PreloadAllModules } from '@angular/router'; import { ActivationPage } from './activation/activation'; // import { ChatPage } from './chat/chat'; // import { CollectionsPage } from './modules/collections/components/collections/collections'; import { SupportPage } from './support/support'; import { CommonModule } from '@angular/common'; import { SignUpPage } from './modules/profile/components/sign up/sign-up'; import { HomePage } from './home/home.page'; import { WordSearchGame } from './modules/games/word-search-game/word-search-game'; // import { SettingsPage } from './settings/settings'; // import { SubItemsPage } from './modules/collections/components/sub-items/sub-items'; // import { ExampleModalComponent } from '../components/features/dictionary/example/example-modal/example-modal'; // import { ConjugationModalComponent } from '../components/features/dictionary/verb/conjugation/conjugation-modal/conjugation-modal'; // import { PropositionModalComponent } from '../components/features/dictionary/verb/proposition/proposition-modal/proposition-modal'; const routes: Routes = [ { path: '', pathMatch: 'full', redirectTo:"items"}, { path: 'activation', component: ActivationPage }, { path: 'support', component: SupportPage }, { path: 'games', loadChildren: () => import('./modules/games/games-routing').then(m => m.GAMES_ROUTES) }, { path: 'invite', loadChildren: () => import('./modules/invitation/invitation.module').then(m => m.InvitationModule) }, { path: 'contact', loadChildren: () => import('./modules/contact/contact.module').then(m => m.ContactModule) }, { path: 'settings', loadChildren: () => import('./modules/settings/settings.module').then(m => m.SettingsModule) }, { path: 'profile', loadChildren: () => import('./modules/profile/profile.module').then(m => m.ProfileModule) }, { path: 'items', loadChildren: () => import('./modules/items/items.module').then(m => m.ItemsModule)}, { path: 'chat', loadChildren: () => import('./modules/chat/chat-routing.module').then(m => m.CHAT_ROUTES) }, { path: 'dict', loadChildren: () => import('./dict-page/dict-page.module').then(m=>m.DictPageModule) }, { path: 'collections', loadChildren: () => import('./modules/collections/collections.module').then(m => m.CollectionsModule) }, { path: 'home', loadChildren: () => import('./home/home.module').then(m => m.HomePageModule) } ]; @NgModule({ imports: [ RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })], exports: [RouterModule] }) export class AppRoutingModule { }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
activation | Folder | 0755 |
|
|
baya-plus | Folder | 0755 |
|
|
dict-page | Folder | 0755 |
|
|
home | Folder | 0755 |
|
|
md-module | Folder | 0755 |
|
|
modal-description | Folder | 0755 |
|
|
modules | Folder | 0755 |
|
|
select-contact | Folder | 0755 |
|
|
select-item | Folder | 0755 |
|
|
support | Folder | 0755 |
|
|
tabs | Folder | 0755 |
|
|
wallet | Folder | 0755 |
|
|
app-routing.module.ts | File | 2.59 KB | 0755 |
|
app.component.html | File | 2.41 KB | 0755 |
|
app.component.scss | File | 4.52 KB | 0755 |
|
app.component.ts | File | 5.51 KB | 0755 |
|
app.module.ts | File | 7.96 KB | 0755 |
|
main.ts | File | 173 B | 0755 |
|