edit
This commit is contained in:
@ -2,9 +2,12 @@ import { NgModule, Type } from '@angular/core';
|
||||
import { SharedModule } from '@shared';
|
||||
import { MenuManagerComponentsIndexComponent } from './components/index/index.component';
|
||||
import { MenuManagerRoutingModule } from './menu-manager-routing.module';
|
||||
import { MenuModalComponent } from './components/index/menu-modal/menu-modal.component';
|
||||
import { ApiAuthComponent } from './components/api-auth/api-auth.component';
|
||||
import { AuthDrawerComponent } from './components/api-auth/auth-drawer/auth-drawer.component';
|
||||
|
||||
const COMPONENTS: Type<void>[] = [MenuManagerComponentsIndexComponent];
|
||||
const COMPONENTS_NOROUNT: Type<void>[] = [];
|
||||
const COMPONENTS: Type<void>[] = [MenuManagerComponentsIndexComponent, ApiAuthComponent];
|
||||
const COMPONENTS_NOROUNT: Type<void>[] = [MenuModalComponent, AuthDrawerComponent];
|
||||
@NgModule({
|
||||
imports: [SharedModule, MenuManagerRoutingModule],
|
||||
declarations: [...COMPONENTS, ...COMPONENTS_NOROUNT]
|
||||
|
||||
Reference in New Issue
Block a user