penambahan menu device
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<p>cost-management works!</p>
|
||||
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CostManagementComponent } from './cost-management.component';
|
||||
|
||||
describe('CostManagementComponent', () => {
|
||||
let component: CostManagementComponent;
|
||||
let fixture: ComponentFixture<CostManagementComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ CostManagementComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(CostManagementComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,10 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-cost-management',
|
||||
templateUrl: './cost-management.component.html',
|
||||
styleUrls: ['./cost-management.component.css']
|
||||
})
|
||||
export class CostManagementComponent {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { CostManagementComponent } from './cost-management.component';
|
||||
import { RouterModule } from '@angular/router';
|
||||
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
CostManagementComponent
|
||||
],
|
||||
imports: [
|
||||
CommonModule,
|
||||
RouterModule.forChild([
|
||||
{
|
||||
path: '',
|
||||
component: CostManagementComponent
|
||||
}
|
||||
])
|
||||
]
|
||||
})
|
||||
export class CostManagementModule { }
|
||||
Reference in New Issue
Block a user