From d7bb20870ee6be85335567acc829b2dbae4fc708 Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Thu, 24 Aug 2017 16:38:41 +0100 Subject: [PATCH] Change from attaching directly to body tag for app --- src/app/app.component.html | 0 src/app/app.component.ts | 3 +-- src/index.html | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 src/app/app.component.html diff --git a/src/app/app.component.html b/src/app/app.component.html deleted file mode 100644 index e69de29..0000000 diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 5095d21..94160ad 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,8 +1,7 @@ import { Component } from '@angular/core'; @Component({ - // tslint:disable-next-line - selector: 'body', + selector: 'app-root', template: '' }) export class AppComponent { } diff --git a/src/index.html b/src/index.html index 3e0755e..ecc45ed 100644 --- a/src/index.html +++ b/src/index.html @@ -21,8 +21,7 @@ - - + Loading...