edit
This commit is contained in:
@ -1,10 +1,12 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { ApiAuthComponent } from './components/api-auth/api-auth.component';
|
||||
import { MenuManagerComponentsIndexComponent } from './components/index/index.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: '', redirectTo: 'index', pathMatch: 'full' },
|
||||
{ path: 'index', component: MenuManagerComponentsIndexComponent },
|
||||
{ path: 'auth', component: ApiAuthComponent },
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
||||
Reference in New Issue
Block a user