Remove components module as no longer needed

This commit is contained in:
Tom Bloor 2017-08-16 15:38:31 +01:00
parent 10dbea0ba6
commit e1d44c52ae
2 changed files with 0 additions and 70 deletions

View file

@ -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 {}

View file

@ -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 { }