Externalize app component html template.
This commit is contained in:
parent
c71c015616
commit
994604ddbf
8
src/app.component.html
Normal file
8
src/app.component.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<!-- Navbar -->
|
||||||
|
<nav class="navbar fixed-top navbar-dark bg-dark">
|
||||||
|
<a class="navbar-brand" routerLink="/accounts"> Accountant</a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<div class="container-fluid">
|
||||||
|
<router-outlet></router-outlet>
|
||||||
|
</div>
|
@ -4,15 +4,6 @@ import { Component } from '@angular/core';
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'accountant',
|
selector: 'accountant',
|
||||||
template: `
|
templateUrl: './app.component.html'
|
||||||
<!-- Navbar -->
|
|
||||||
<nav class="navbar fixed-top navbar-dark bg-dark">
|
|
||||||
<a class="navbar-brand" routerLink="/accounts"> Accountant</a>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<div class="container-fluid">
|
|
||||||
<router-outlet></router-outlet>
|
|
||||||
</div>
|
|
||||||
`
|
|
||||||
})
|
})
|
||||||
export class AppComponent { }
|
export class AppComponent { }
|
||||||
|
Loading…
Reference in New Issue
Block a user