Optimize structure

This commit is contained in:
Taric Xin
2022-05-11 17:47:26 +08:00
parent f1fc336850
commit 28d701a941
9 changed files with 38 additions and 24 deletions

View File

@ -1,5 +1,5 @@
import { NgModule, Type } from '@angular/core';
import { SharedModule, STWidgetModule } from '@shared';
import { BasicModuleModule, SharedModule, STWidgetModule } from '@shared';
// dashboard pages
import { DashboardComponent } from './dashboard/dashboard.component';
@ -14,9 +14,8 @@ const COMPONENTS_NOROUNT: Array<Type<void>> = [];
@NgModule({
imports: [
LayoutModule,
SharedModule,
BasicModuleModule,
GlobalConfigModule.forRoot(),
STWidgetModule,
RouteRoutingModule
],
declarations: [...COMPONENTS, ...COMPONENTS_NOROUNT],