diff --git a/src/app/components/components-routing.module.ts b/src/app/components/components-routing.module.ts deleted file mode 100644 index 4853287..0000000 --- a/src/app/components/components-routing.module.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { NgModule } from '@angular/core'; -import { Routes, RouterModule } from '@angular/router'; - -import { LeaderboardsComponent } from './leaderboards.component'; -import { AccountEditComponent } from './account-edit.component'; -import { AddDataComponent } from './add-data.component'; - -const routes: Routes = [ - { - path: '', - data: { - title: 'Components' - }, - children: [ - { - path: 'leaderboards', - component: LeaderboardsComponent, - data: { - title: 'Leaderboards' - } - }, - { - path: 'account-edit', - component: AccountEditComponent, - data: { - title: 'Edit Account' - } - }, - { - path: 'add-data', - component: AddDataComponent, - data: { - title: 'Add Data' - } - } - ] - } -]; - -@NgModule({ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule] -}) -export class ComponentsRoutingModule {} diff --git a/src/app/components/components.module.ts b/src/app/components/components.module.ts deleted file mode 100644 index 9f6869e..0000000 --- a/src/app/components/components.module.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { NgModule } from '@angular/core'; -import { FormsModule, ReactiveFormsModule } from '@angular/forms'; -import { CommonModule } from '@angular/common'; - -// Pages to be used in Production -import { LeaderboardsComponent } from './leaderboards.component'; -import { AddDataComponent } from './add-data.component'; -import { AccountEditComponent } from './account-edit.component'; - -// Components Routing -import { ComponentsRoutingModule } from './components-routing.module'; - -@NgModule({ - imports: [ - CommonModule, - ComponentsRoutingModule, - FormsModule, - ReactiveFormsModule - ], - declarations: [ - LeaderboardsComponent, - AccountEditComponent, - AddDataComponent - ] -}) -export class ComponentsModule { }