diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 8f19381..91fe33f 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -16,6 +16,7 @@ import { CartComponent } from './cart/cart.component'; import { PushNotificationsModule } from 'ng-push-ivy'; import { ClipboardModule } from 'ngx-clipboard'; import { DashboardComponent } from './dashboard/dashboard.component'; +import { LoginComponent } from './dashboard/login/login.component'; const config: SocketIoConfig = { url: 'http://localhost:2009', options: {} }; @@ -28,7 +29,8 @@ const config: SocketIoConfig = { url: 'http://localhost:2009', options: {} }; HelloComponent, NotFoundComponent, CartComponent, - DashboardComponent + DashboardComponent, + LoginComponent ], imports: [ BrowserModule, diff --git a/src/app/dashboard/login/login.component.css b/src/app/dashboard/login/login.component.css new file mode 100644 index 0000000..e69de29 diff --git a/src/app/dashboard/login/login.component.html b/src/app/dashboard/login/login.component.html new file mode 100644 index 0000000..147cfc4 --- /dev/null +++ b/src/app/dashboard/login/login.component.html @@ -0,0 +1 @@ +
login works!
diff --git a/src/app/dashboard/login/login.component.spec.ts b/src/app/dashboard/login/login.component.spec.ts new file mode 100644 index 0000000..d2c0e6c --- /dev/null +++ b/src/app/dashboard/login/login.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { LoginComponent } from './login.component'; + +describe('LoginComponent', () => { + let component: LoginComponent; + let fixture: ComponentFixture