Seperate electron and web target building
This commit is contained in:
committed by
József Farkas
parent
517aed1b1c
commit
983eb72892
1
web/src/components/keymap/index.ts
Normal file
1
web/src/components/keymap/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './keymap.routes';
|
||||
25
web/src/components/keymap/keymap.routes.ts
Normal file
25
web/src/components/keymap/keymap.routes.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import { Routes } from '@angular/router';
|
||||
|
||||
import { KeymapAddComponent } from '../../shared/components/keymap/add/keymap-add.component';
|
||||
import { KeymapEditComponent, KeymapEditGuard } from '../../shared/components/keymap/edit';
|
||||
|
||||
export const keymapRoutes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
redirectTo: '/keymap',
|
||||
pathMatch: 'full'
|
||||
},
|
||||
{
|
||||
path: 'keymap',
|
||||
component: KeymapEditComponent,
|
||||
canActivate: [KeymapEditGuard]
|
||||
},
|
||||
{
|
||||
path: 'keymap/add',
|
||||
component: KeymapAddComponent
|
||||
},
|
||||
{
|
||||
path: 'keymap/:abbr',
|
||||
component: KeymapEditComponent
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user