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';
|
||||
|
||||
@Component({
|
||||
// tslint:disable-next-line
|
||||
selector: 'body',
|
||||
selector: 'app-root',
|
||||
template: '<router-outlet></router-outlet>'
|
||||
})
|
||||
export class AppComponent { }
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
<body class="app header-fixed sidebar-fixed">
|
||||
<!-- Enable bootstrap 4 theme -->
|
||||
<script>window.__theme = 'bs4';</script>
|
||||
|
||||
<!-- App Loading... -->
|
||||
<app-root><i>Loading...</i></app-root>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
Reference in a new issue