created basic webApplication
This commit is contained in:
@@ -2,9 +2,16 @@ import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
templateUrl: './app.component.html',
|
||||
styleUrls: ['./app.component.css']
|
||||
template: `<div>
|
||||
<h1>Welcome, traveler.</h1>
|
||||
<nav>
|
||||
<a routerLink = "">Главная </a>
|
||||
<a routerLink = "about">О нас </a>
|
||||
<a routerLink = "boards">Борда </a>
|
||||
</nav>
|
||||
<router-outlet></router-outlet>
|
||||
</div>`
|
||||
})
|
||||
export class AppComponent {
|
||||
title = 'Nedvach';
|
||||
title = 'Nedvach Angular';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user