合并为一个项目 #14
@@ -17,6 +17,7 @@ const routes: Routes = [
|
|||||||
path: 'user', loadChildren: () => import('./view/login-registration/login-registration.module')
|
path: 'user', loadChildren: () => import('./view/login-registration/login-registration.module')
|
||||||
.then(mod => mod.LoginRegistrationModule)
|
.then(mod => mod.LoginRegistrationModule)
|
||||||
},
|
},
|
||||||
|
{path: 'admin', loadChildren: () => import('./view/admin/admin.module').then(mod => mod.AdminModule)},
|
||||||
{path: '**', loadChildren: () => import('./view/page-not-found/page-not-found.module').then(mod => mod.PageNotFoundModule)}
|
{path: '**', loadChildren: () => import('./view/page-not-found/page-not-found.module').then(mod => mod.PageNotFoundModule)}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import {HeaderComponent} from './components/header/header.component';
|
|||||||
import {FooterComponent} from './components/footer/footer.component';
|
import {FooterComponent} from './components/footer/footer.component';
|
||||||
import {AppRoutingModule} from './app-routing.module';
|
import {AppRoutingModule} from './app-routing.module';
|
||||||
import {LoginRegistrationModule} from './view/login-registration/login-registration.module';
|
import {LoginRegistrationModule} from './view/login-registration/login-registration.module';
|
||||||
|
import {AdminModule} from './view/admin/admin.module';
|
||||||
|
|
||||||
|
|
||||||
registerLocaleData(zh);
|
registerLocaleData(zh);
|
||||||
@@ -28,7 +29,8 @@ registerLocaleData(zh);
|
|||||||
FormsModule,
|
FormsModule,
|
||||||
HttpClientModule,
|
HttpClientModule,
|
||||||
BrowserAnimationsModule,
|
BrowserAnimationsModule,
|
||||||
LoginRegistrationModule
|
LoginRegistrationModule,
|
||||||
|
AdminModule
|
||||||
],
|
],
|
||||||
providers: [{provide: NZ_I18N, useValue: zh_CN}],
|
providers: [{provide: NZ_I18N, useValue: zh_CN}],
|
||||||
exports: [],
|
exports: [],
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
<p>admin-article works!</p>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { AdminArticleComponent } from './admin-article.component';
|
||||||
|
|
||||||
|
describe('AdminArticleComponent', () => {
|
||||||
|
let component: AdminArticleComponent;
|
||||||
|
let fixture: ComponentFixture<AdminArticleComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ AdminArticleComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(AdminArticleComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-admin-article',
|
||||||
|
templateUrl: './admin-article.component.html',
|
||||||
|
styleUrls: ['./admin-article.component.less']
|
||||||
|
})
|
||||||
|
export class AdminArticleComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<p>admin-category works!</p>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { AdminCategoryComponent } from './admin-category.component';
|
||||||
|
|
||||||
|
describe('AdminCategoryComponent', () => {
|
||||||
|
let component: AdminCategoryComponent;
|
||||||
|
let fixture: ComponentFixture<AdminCategoryComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ AdminCategoryComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(AdminCategoryComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-admin-category',
|
||||||
|
templateUrl: './admin-category.component.html',
|
||||||
|
styleUrls: ['./admin-category.component.less']
|
||||||
|
})
|
||||||
|
export class AdminCategoryComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<p>admin-comment works!</p>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { AdminCommentComponent } from './admin-comment.component';
|
||||||
|
|
||||||
|
describe('AdminCommentComponent', () => {
|
||||||
|
let component: AdminCommentComponent;
|
||||||
|
let fixture: ComponentFixture<AdminCommentComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ AdminCommentComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(AdminCommentComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-admin-comment',
|
||||||
|
templateUrl: './admin-comment.component.html',
|
||||||
|
styleUrls: ['./admin-comment.component.less']
|
||||||
|
})
|
||||||
|
export class AdminCommentComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<p>admin-index works!</p>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { AdminIndexComponent } from './admin-index.component';
|
||||||
|
|
||||||
|
describe('AdminIndexComponent', () => {
|
||||||
|
let component: AdminIndexComponent;
|
||||||
|
let fixture: ComponentFixture<AdminIndexComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ AdminIndexComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(AdminIndexComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-admin-index',
|
||||||
|
templateUrl: './admin-index.component.html',
|
||||||
|
styleUrls: ['./admin-index.component.less']
|
||||||
|
})
|
||||||
|
export class AdminIndexComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<p>admin-link works!</p>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { AdminLinkComponent } from './admin-link.component';
|
||||||
|
|
||||||
|
describe('AdminLinkComponent', () => {
|
||||||
|
let component: AdminLinkComponent;
|
||||||
|
let fixture: ComponentFixture<AdminLinkComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ AdminLinkComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(AdminLinkComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
15
index/src/app/view/admin/admin-link/admin-link.component.ts
Normal file
15
index/src/app/view/admin/admin-link/admin-link.component.ts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-admin-link',
|
||||||
|
templateUrl: './admin-link.component.html',
|
||||||
|
styleUrls: ['./admin-link.component.less']
|
||||||
|
})
|
||||||
|
export class AdminLinkComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
36
index/src/app/view/admin/admin-routing.module.ts
Normal file
36
index/src/app/view/admin/admin-routing.module.ts
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
import {NgModule} from '@angular/core';
|
||||||
|
import {RouterModule, Routes} from '@angular/router';
|
||||||
|
import {AdminIndexComponent} from './admin-index/admin-index.component';
|
||||||
|
import {AdminCommentComponent} from './admin-comment/admin-comment.component';
|
||||||
|
import {AdminArticleComponent} from './admin-article/admin-article.component';
|
||||||
|
import {AdminCategoryComponent} from './admin-category/admin-category.component';
|
||||||
|
import {AdminLinkComponent} from './admin-link/admin-link.component';
|
||||||
|
import {AdminTagComponent} from './admin-tag/admin-tag.component';
|
||||||
|
import {AdminUpdateComponent} from './admin-update/admin-update.component';
|
||||||
|
import {AdminUserComponent} from './admin-user/admin-user.component';
|
||||||
|
import {AdminUserinfoComponent} from './admin-userinfo/admin-userinfo.component';
|
||||||
|
import {AdminVisitorComponent} from './admin-visitor/admin-visitor.component';
|
||||||
|
|
||||||
|
|
||||||
|
const routes: Routes = [
|
||||||
|
{path: '', pathMatch: 'full', component: AdminIndexComponent},
|
||||||
|
{path: 'article', component: AdminArticleComponent},
|
||||||
|
{path: 'comment', component: AdminCommentComponent},
|
||||||
|
{path: 'category', component: AdminCategoryComponent},
|
||||||
|
{path: 'link', component: AdminLinkComponent},
|
||||||
|
{path: 'tag', component: AdminTagComponent},
|
||||||
|
{path: 'update', component: AdminUpdateComponent},
|
||||||
|
{path: 'user', component: AdminUserComponent},
|
||||||
|
{path: 'userInfo', component: AdminUserinfoComponent},
|
||||||
|
{path: 'visitor', component: AdminVisitorComponent},
|
||||||
|
];
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
RouterModule.forChild(routes)
|
||||||
|
],
|
||||||
|
exports: [RouterModule]
|
||||||
|
})
|
||||||
|
|
||||||
|
export class AdminRoutingModule {
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<p>admin-tag works!</p>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { AdminTagComponent } from './admin-tag.component';
|
||||||
|
|
||||||
|
describe('AdminTagComponent', () => {
|
||||||
|
let component: AdminTagComponent;
|
||||||
|
let fixture: ComponentFixture<AdminTagComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ AdminTagComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(AdminTagComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
15
index/src/app/view/admin/admin-tag/admin-tag.component.ts
Normal file
15
index/src/app/view/admin/admin-tag/admin-tag.component.ts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-admin-tag',
|
||||||
|
templateUrl: './admin-tag.component.html',
|
||||||
|
styleUrls: ['./admin-tag.component.less']
|
||||||
|
})
|
||||||
|
export class AdminTagComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<p>admin-update works!</p>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { AdminUpdateComponent } from './admin-update.component';
|
||||||
|
|
||||||
|
describe('AdminUpdateComponent', () => {
|
||||||
|
let component: AdminUpdateComponent;
|
||||||
|
let fixture: ComponentFixture<AdminUpdateComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ AdminUpdateComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(AdminUpdateComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-admin-update',
|
||||||
|
templateUrl: './admin-update.component.html',
|
||||||
|
styleUrls: ['./admin-update.component.less']
|
||||||
|
})
|
||||||
|
export class AdminUpdateComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<p>admin-user works!</p>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { AdminUserComponent } from './admin-user.component';
|
||||||
|
|
||||||
|
describe('AdminUserComponent', () => {
|
||||||
|
let component: AdminUserComponent;
|
||||||
|
let fixture: ComponentFixture<AdminUserComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ AdminUserComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(AdminUserComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
15
index/src/app/view/admin/admin-user/admin-user.component.ts
Normal file
15
index/src/app/view/admin/admin-user/admin-user.component.ts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-admin-user',
|
||||||
|
templateUrl: './admin-user.component.html',
|
||||||
|
styleUrls: ['./admin-user.component.less']
|
||||||
|
})
|
||||||
|
export class AdminUserComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<p>admin-userinfo works!</p>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { AdminUserinfoComponent } from './admin-userinfo.component';
|
||||||
|
|
||||||
|
describe('AdminUserinfoComponent', () => {
|
||||||
|
let component: AdminUserinfoComponent;
|
||||||
|
let fixture: ComponentFixture<AdminUserinfoComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ AdminUserinfoComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(AdminUserinfoComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-admin-userinfo',
|
||||||
|
templateUrl: './admin-userinfo.component.html',
|
||||||
|
styleUrls: ['./admin-userinfo.component.less']
|
||||||
|
})
|
||||||
|
export class AdminUserinfoComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<p>admin-visitor works!</p>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { AdminVisitorComponent } from './admin-visitor.component';
|
||||||
|
|
||||||
|
describe('AdminVisitorComponent', () => {
|
||||||
|
let component: AdminVisitorComponent;
|
||||||
|
let fixture: ComponentFixture<AdminVisitorComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ AdminVisitorComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(AdminVisitorComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-admin-visitor',
|
||||||
|
templateUrl: './admin-visitor.component.html',
|
||||||
|
styleUrls: ['./admin-visitor.component.less']
|
||||||
|
})
|
||||||
|
export class AdminVisitorComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
35
index/src/app/view/admin/admin.module.ts
Normal file
35
index/src/app/view/admin/admin.module.ts
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
import {NgModule} from '@angular/core';
|
||||||
|
import {CommonModule} from '@angular/common';
|
||||||
|
import {AdminRoutingModule} from './admin-routing.module';
|
||||||
|
import {AdminIndexComponent} from './admin-index/admin-index.component';
|
||||||
|
import {AdminArticleComponent} from './admin-article/admin-article.component';
|
||||||
|
import {AdminCategoryComponent} from './admin-category/admin-category.component';
|
||||||
|
import {AdminCommentComponent} from './admin-comment/admin-comment.component';
|
||||||
|
import {AdminTagComponent} from './admin-tag/admin-tag.component';
|
||||||
|
import {AdminLinkComponent} from './admin-link/admin-link.component';
|
||||||
|
import {AdminUpdateComponent} from './admin-update/admin-update.component';
|
||||||
|
import {AdminUserComponent} from './admin-user/admin-user.component';
|
||||||
|
import {AdminUserinfoComponent} from './admin-userinfo/admin-userinfo.component';
|
||||||
|
import {AdminVisitorComponent} from './admin-visitor/admin-visitor.component';
|
||||||
|
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
declarations: [
|
||||||
|
AdminIndexComponent,
|
||||||
|
AdminArticleComponent,
|
||||||
|
AdminCategoryComponent,
|
||||||
|
AdminCommentComponent,
|
||||||
|
AdminTagComponent,
|
||||||
|
AdminLinkComponent,
|
||||||
|
AdminUpdateComponent,
|
||||||
|
AdminUserComponent,
|
||||||
|
AdminUserinfoComponent,
|
||||||
|
AdminVisitorComponent
|
||||||
|
],
|
||||||
|
imports: [
|
||||||
|
CommonModule,
|
||||||
|
AdminRoutingModule
|
||||||
|
]
|
||||||
|
})
|
||||||
|
export class AdminModule {
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user