Change from attaching directly to body tag for app

This commit is contained in:
Tom Bloor 2017-08-24 16:38:41 +01:00
parent 9934f618b5
commit d7bb20870e
3 changed files with 2 additions and 4 deletions

View file

@ -1,8 +1,7 @@
import { Component } from '@angular/core';
@Component({
// tslint:disable-next-line
selector: 'body',
selector: 'app-root',
template: '<router-outlet></router-outlet>'
})
export class AppComponent { }