合并为一个项目 #14
@@ -1 +0,0 @@
|
||||
<p>admin-index works!</p>
|
||||
@@ -1,15 +0,0 @@
|
||||
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 {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
import {NgModule} from '@angular/core';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {RouterModule} from '@angular/router';
|
||||
import {AdminIndexComponent} from './admin-index.component';
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AdminIndexComponent
|
||||
],
|
||||
imports: [
|
||||
CommonModule,
|
||||
RouterModule.forChild([{path: '', component: AdminIndexComponent}])
|
||||
]
|
||||
})
|
||||
export class AdminIndexModule {
|
||||
}
|
||||
Reference in New Issue
Block a user