diff --git a/src/app/app.module.ts b/src/app/app.module.ts index f14ccd9..bd2a24a 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -14,6 +14,7 @@ import { AppRoutingModule } from 'src/routes'; import { NotFoundComponent } from './not-found/not-found.component'; import { CartComponent } from './cart/cart.component'; import { DashboardComponent } from './dashboard/dashboard.component'; +import { LoginComponent } from './dashboard/login/login.component'; const config: SocketIoConfig = { url: 'http://localhost:2009', options: {} }; @@ -26,7 +27,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