BETTERZON-33: Fixed issues with npm

This commit is contained in:
2020-12-01 22:22:09 +01:00
parent 7d9fcfd310
commit b5c9da6055
6 changed files with 982 additions and 5849 deletions
+1
View File
@@ -1 +1,2 @@
<app-hello-world></app-hello-world>
<app-product-list-component></app-product-list-component>
@@ -1,2 +1,4 @@
<meta charset="UTF-8">
<p *ngFor="let person of testList">
{{person}}
</p>
@@ -1,15 +1,25 @@
import { Component, OnInit } from '@angular/core';
import {Component, OnInit} from '@angular/core';
@Component({
selector: 'app-product-list-component',
templateUrl: './product-list-component.component.html',
styleUrls: ['./product-list-component.component.css']
selector: 'app-product-list-component',
templateUrl: './product-list-component.component.html',
styleUrls: ['./product-list-component.component.css']
})
export class ProductListComponentComponent implements OnInit {
testList: string[];
constructor() { }
constructor() {
}
ngOnInit(): void {
}
ngOnInit(): void {
this.testList = ['Herbert', 'Sascha', 'Rolf'];
}
// async function getCrypto(query: object): Promise<object> {
// const url = new URL('https://backend.betterzon.xyz');
// const headers = {};
// const response = await fetch(url.toString(), {headers});
// return await response.json();
// };
}