web-frontend mit Hello-World Content versehen.

This commit is contained in:
2026-01-17 15:49:01 +01:00
parent edbdfd6ab2
commit ca72fcc33c
10 changed files with 139 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
template: '<h1>Hello World from Angular!</h1>',
styles: []
})
export class AppComponent { }

View File

@@ -0,0 +1,11 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }

View File

@@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>WebFrontend</title>
<base href="/">
</head>
<body>
<app-root></app-root>
</body>
</html>

5
web-frontend/src/main.ts Normal file
View File

@@ -0,0 +1,5 @@
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));