Client: split in angular modules
This commit is contained in:
parent
2c8d4697db
commit
693b1aba46
33 changed files with 371 additions and 174 deletions
17
client/src/app/app-routing.module.ts
Normal file
17
client/src/app/app-routing.module.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
redirectTo: '/videos/list',
|
||||
pathMatch: 'full'
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [ RouterModule.forRoot(routes) ],
|
||||
exports: [ RouterModule ]
|
||||
})
|
||||
export class AppRoutingModule {}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue