Add empty front page with just a header
Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
This commit is contained in:
1
app/app.component.html
Normal file
1
app/app.component.html
Normal file
@@ -0,0 +1 @@
|
||||
<h1>Hello!</h1>
|
7
app/app.component.ts
Normal file
7
app/app.component.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Component } from "@angular/core";
|
||||
|
||||
@Component({
|
||||
selector: "duckbook-front",
|
||||
templateUrl: "/app/app.component.html"
|
||||
})
|
||||
export class AppComponent {}
|
11
app/app.module.ts
Normal file
11
app/app.module.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { NgModule } from "@angular/core";
|
||||
import { BrowserModule } from "@angular/platform-browser";
|
||||
|
||||
import { AppComponent } from "./app.component";
|
||||
|
||||
@NgModule({
|
||||
imports: [ BrowserModule ],
|
||||
declarations: [ AppComponent ],
|
||||
bootstrap: [ AppComponent ]
|
||||
})
|
||||
export class AppModule {}
|
6
app/main.ts
Normal file
6
app/main.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
|
||||
|
||||
import { AppModule } from "./app.module";
|
||||
|
||||
const platform = platformBrowserDynamic();
|
||||
platform.bootstrapModule(AppModule);
|
Reference in New Issue
Block a user