22 lines
531 B
TypeScript
22 lines
531 B
TypeScript
import { Component, VERSION } from "@angular/core";
|
|
import '../styles.css';
|
|
import '../../node_modules/leaflet/dist/leaflet.css';
|
|
|
|
@Component({
|
|
selector: "app-component",
|
|
templateUrl: "./app.component.html",
|
|
styleUrls: ["./app.component.css"]
|
|
// template: `
|
|
// <div>
|
|
// <h1>{{name}}</h1>
|
|
// <div>The number: {{x}}</div>
|
|
// </div>
|
|
// `,
|
|
// styleUrls: ['./app.component.css']
|
|
})
|
|
export class AppComponent {
|
|
constructor() {}
|
|
|
|
private name = 'Angular test ' + VERSION.major;
|
|
x: number = 123;
|
|
}
|