mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2026-04-26 23:30:11 +00:00
BETTERZON-33: Fixed issues with npm
This commit is contained in:
@@ -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();
|
||||
// };
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user