Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (23 sloc) 545 Bytes
import { NgModule } from '@angular/core';
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
const routes: Routes = [
{
path: '',
redirectTo: 'app/shared',
pathMatch: 'full'
},
{
path: 'app',
redirectTo: 'app/shared',
pathMatch: 'full'
},
{
path: 'app',
loadChildren: './pages/tabs/tabs.module#TabsPageModule'
}
];
@NgModule({
imports: [RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })],
exports: [RouterModule]
})
export class AppRoutingModule {}
You can’t perform that action at this time.