diff --git a/apps/dashboard/src/app/app.module.ts b/apps/dashboard/src/app/app.module.ts index f457f66..8a93025 100644 --- a/apps/dashboard/src/app/app.module.ts +++ b/apps/dashboard/src/app/app.module.ts @@ -6,10 +6,26 @@ import { NxWelcomeComponent } from './nx-welcome.component'; import { HttpClientModule } from '@angular/common/http'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { StoreModule } from '@ngrx/store'; +import { RoutingModule } from './routing.module'; +import { WidgetsComponent } from './widgets/widgets.component'; +import { WidgetsListComponent } from './widgets/widgets-list/widgets-list.component'; +import { WidgetDetailsComponent } from './widgets/widget-details/widget-details.component'; @NgModule({ - declarations: [AppComponent, NxWelcomeComponent], - imports: [BrowserModule, HttpClientModule, BrowserAnimationsModule, StoreModule.forRoot({}, {})], + declarations: [ + AppComponent, + NxWelcomeComponent, + WidgetsComponent, + WidgetsListComponent, + WidgetDetailsComponent, + ], + imports: [ + BrowserModule, + HttpClientModule, + BrowserAnimationsModule, + StoreModule.forRoot({}, {}), + RoutingModule, + ], providers: [], bootstrap: [AppComponent], }) diff --git a/apps/dashboard/src/app/routing.module.ts b/apps/dashboard/src/app/routing.module.ts new file mode 100644 index 0000000..f1e6e0d --- /dev/null +++ b/apps/dashboard/src/app/routing.module.ts @@ -0,0 +1,12 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + + + +@NgModule({ + declarations: [], + imports: [ + CommonModule + ] +}) +export class RoutingModule { } diff --git a/apps/dashboard/src/app/widgets/widget-details/widget-details.component.html b/apps/dashboard/src/app/widgets/widget-details/widget-details.component.html new file mode 100644 index 0000000..d04ca60 --- /dev/null +++ b/apps/dashboard/src/app/widgets/widget-details/widget-details.component.html @@ -0,0 +1 @@ +
widget-details works!
diff --git a/apps/dashboard/src/app/widgets/widget-details/widget-details.component.scss b/apps/dashboard/src/app/widgets/widget-details/widget-details.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/apps/dashboard/src/app/widgets/widget-details/widget-details.component.spec.ts b/apps/dashboard/src/app/widgets/widget-details/widget-details.component.spec.ts new file mode 100644 index 0000000..d97d1ac --- /dev/null +++ b/apps/dashboard/src/app/widgets/widget-details/widget-details.component.spec.ts @@ -0,0 +1,22 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { WidgetDetailsComponent } from './widget-details.component'; + +describe('WidgetDetailsComponent', () => { + let component: WidgetDetailsComponent; + let fixture: ComponentFixturewidgets-list works!
diff --git a/apps/dashboard/src/app/widgets/widgets-list/widgets-list.component.scss b/apps/dashboard/src/app/widgets/widgets-list/widgets-list.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/apps/dashboard/src/app/widgets/widgets-list/widgets-list.component.spec.ts b/apps/dashboard/src/app/widgets/widgets-list/widgets-list.component.spec.ts new file mode 100644 index 0000000..4fb1d17 --- /dev/null +++ b/apps/dashboard/src/app/widgets/widgets-list/widgets-list.component.spec.ts @@ -0,0 +1,22 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { WidgetsListComponent } from './widgets-list.component'; + +describe('WidgetsListComponent', () => { + let component: WidgetsListComponent; + let fixture: ComponentFixturewidgets works!
diff --git a/apps/dashboard/src/app/widgets/widgets.component.scss b/apps/dashboard/src/app/widgets/widgets.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/apps/dashboard/src/app/widgets/widgets.component.spec.ts b/apps/dashboard/src/app/widgets/widgets.component.spec.ts new file mode 100644 index 0000000..1d3a187 --- /dev/null +++ b/apps/dashboard/src/app/widgets/widgets.component.spec.ts @@ -0,0 +1,22 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { WidgetsComponent } from './widgets.component'; + +describe('WidgetsComponent', () => { + let component: WidgetsComponent; + let fixture: ComponentFixture