Change from attaching directly to body tag for app
This commit is contained in:
parent
9934f618b5
commit
d7bb20870e
3 changed files with 2 additions and 4 deletions
|
@ -1,8 +1,7 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
// tslint:disable-next-line
|
selector: 'app-root',
|
||||||
selector: 'body',
|
|
||||||
template: '<router-outlet></router-outlet>'
|
template: '<router-outlet></router-outlet>'
|
||||||
})
|
})
|
||||||
export class AppComponent { }
|
export class AppComponent { }
|
||||||
|
|
|
@ -21,8 +21,7 @@
|
||||||
<body class="app header-fixed sidebar-fixed">
|
<body class="app header-fixed sidebar-fixed">
|
||||||
<!-- Enable bootstrap 4 theme -->
|
<!-- Enable bootstrap 4 theme -->
|
||||||
<script>window.__theme = 'bs4';</script>
|
<script>window.__theme = 'bs4';</script>
|
||||||
|
<app-root><i>Loading...</i></app-root>
|
||||||
<!-- App Loading... -->
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
Reference in a new issue