Re-define sub mining routes properly and use router outlet

This commit is contained in:
nymkappa
2022-02-18 15:26:15 +09:00
parent 50f86ba152
commit 38b37a3ee7
7 changed files with 124 additions and 30 deletions

View File

@@ -0,0 +1 @@
<p>hashrate-chart works!</p>

View File

@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-hashrate-chart',
templateUrl: './hashrate-chart.component.html',
styleUrls: ['./hashrate-chart.component.scss']
})
export class HashrateChartComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View File

@@ -0,0 +1 @@
<router-outlet></router-outlet>

View File

@@ -0,0 +1,14 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-mining-start',
templateUrl: './mining-start.component.html',
})
export class MiningStartComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}