Re-define sub mining routes properly and use router outlet

This commit is contained in:
nymkappa committed 2022-02-21 14:48:50 +09:00
1 parent 47697e042b
commit b93fe2ecc8
7 files changed
+124 -30

No files matched your search

@@ -0,0 +1 @@
<p>hashrate-chart works!</p>
Whitespace-only changes.
@@ -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 {
}
}
@@ -0,0 +1 @@
<router-outlet></router-outlet>
@@ -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 {
}
}