合并为一个项目 #14
@@ -1 +0,0 @@
|
|||||||
<p>admin-category works!</p>
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
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 {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
import {NgModule} from '@angular/core';
|
|
||||||
import {CommonModule} from '@angular/common';
|
|
||||||
import {RouterModule} from '@angular/router';
|
|
||||||
import {AdminCategoryComponent} from './admin-category.component';
|
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
declarations: [
|
|
||||||
AdminCategoryComponent
|
|
||||||
],
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
RouterModule.forChild([{path: '', component: AdminCategoryComponent}])
|
|
||||||
]
|
|
||||||
})
|
|
||||||
export class AdminCategoryModule {
|
|
||||||
}
|
|
||||||
@@ -20,11 +20,6 @@ const routes: Routes = [
|
|||||||
loadChildren: () => import('./admin-comment/admin-comment.module').then(mod => mod.AdminCommentModule),
|
loadChildren: () => import('./admin-comment/admin-comment.module').then(mod => mod.AdminCommentModule),
|
||||||
canActivate: [AuthGuard]
|
canActivate: [AuthGuard]
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// path: 'category',
|
|
||||||
// loadChildren: () => import('./admin-category/admin-category.module').then(mod => mod.AdminCategoryModule),
|
|
||||||
// canActivate: [AuthGuard]
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
path: 'link',
|
path: 'link',
|
||||||
loadChildren: () => import('./admin-link/admin-link.module').then(mod => mod.AdminLinkModule),
|
loadChildren: () => import('./admin-link/admin-link.module').then(mod => mod.AdminLinkModule),
|
||||||
@@ -45,11 +40,6 @@ const routes: Routes = [
|
|||||||
loadChildren: () => import('./admin-user/admin-user.module').then(mod => mod.AdminUserModule),
|
loadChildren: () => import('./admin-user/admin-user.module').then(mod => mod.AdminUserModule),
|
||||||
canActivate: [AuthGuard]
|
canActivate: [AuthGuard]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: 'userInfo',
|
|
||||||
loadChildren: () => import('./admin-userInfo/admin-userInfo.module').then(mod => mod.AdminUserinfoModule),
|
|
||||||
canActivate: [AuthGuard]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: 'visitor',
|
path: 'visitor',
|
||||||
loadChildren: () => import('./admin-visitor/admin-visitor.module').then(mod => mod.AdminVisitorModule),
|
loadChildren: () => import('./admin-visitor/admin-visitor.module').then(mod => mod.AdminVisitorModule),
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
<p>admin-userinfo works!</p>
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
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 {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
import {NgModule} from '@angular/core';
|
|
||||||
import {CommonModule} from '@angular/common';
|
|
||||||
import {RouterModule} from '@angular/router';
|
|
||||||
import {AdminUserinfoComponent} from './admin-userinfo.component';
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
declarations: [
|
|
||||||
AdminUserinfoComponent
|
|
||||||
],
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
RouterModule.forChild([{path: '', component: AdminUserinfoComponent}])
|
|
||||||
]
|
|
||||||
})
|
|
||||||
export class AdminUserinfoModule {
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user