diff --git a/src/app/game-bar/game-bar-routing.module.ts b/src/app/game-bar/game-bar-routing.module.ts new file mode 100644 index 0000000..431c0dd --- /dev/null +++ b/src/app/game-bar/game-bar-routing.module.ts @@ -0,0 +1,10 @@ +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; + +const routes: Routes = []; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class GameBarRoutingModule { } diff --git a/src/app/game-bar/game-bar.module.ts b/src/app/game-bar/game-bar.module.ts new file mode 100644 index 0000000..c3eed74 --- /dev/null +++ b/src/app/game-bar/game-bar.module.ts @@ -0,0 +1,17 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + +import { GameBarRoutingModule } from './game-bar-routing.module'; +import { GameButtonComponent } from './game-button/game-button.component'; + + +@NgModule({ + declarations: [ + GameButtonComponent + ], + imports: [ + CommonModule, + GameBarRoutingModule + ] +}) +export class GameBarModule { } diff --git a/src/app/game-bar/game-button/game-button.component.html b/src/app/game-bar/game-button/game-button.component.html new file mode 100644 index 0000000..4ad8a77 --- /dev/null +++ b/src/app/game-bar/game-button/game-button.component.html @@ -0,0 +1 @@ +
game-button works!
diff --git a/src/app/game-bar/game-button/game-button.component.scss b/src/app/game-bar/game-button/game-button.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/game-bar/game-button/game-button.component.spec.ts b/src/app/game-bar/game-button/game-button.component.spec.ts new file mode 100644 index 0000000..85bf386 --- /dev/null +++ b/src/app/game-bar/game-button/game-button.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { GameButtonComponent } from './game-button.component'; + +describe('GameButtonComponent', () => { + let component: GameButtonComponent; + let fixture: ComponentFixture