malgo-brat-frontend-editor
Version:
"BRAT Editor standalone frontend library"
18 lines (14 loc) • 481 B
text/typescript
import { Routes, RouterModule } from '@angular/router';
import { Home } from './home';
import { About } from './about';
import { NoContent } from './no-content';
import { DataResolver } from './app.resolver';
export const ROUTES: Routes = [
{ path: '', component: Home },
{ path: 'home', component: Home },
{ path: 'about', component: About },
{
path: 'detail', loadChildren: () => System.import('./+detail')
},
{ path: '**', component: NoContent },
];