Modul Web nach client-web umbenannt.

This commit is contained in:
2026-01-17 16:51:54 +01:00
parent 8089a257d1
commit cfc276242f
14 changed files with 18 additions and 8 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 { }

11
client-web/src/index.html Normal file
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
client-web/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));