Add bar when loading chunks
This commit is contained in:
parent
285fe7c930
commit
998acc2215
|
@ -38,6 +38,7 @@
|
|||
"@angularclass/hmr": "^2.1.3",
|
||||
"@ngx-loading-bar/core": "^1.1.1",
|
||||
"@ngx-loading-bar/http-client": "^1.0.0-rc.1",
|
||||
"@ngx-loading-bar/router": "^1.2.0",
|
||||
"@ngx-meta/core": "^5.0.0",
|
||||
"@types/core-js": "^0.9.28",
|
||||
"@types/lodash-es": "^4.17.0",
|
||||
|
|
|
@ -5,6 +5,7 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
|
|||
import { RouterModule } from '@angular/router'
|
||||
import { LoadingBarModule } from '@ngx-loading-bar/core'
|
||||
import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client'
|
||||
import { LoadingBarRouterModule } from '@ngx-loading-bar/router'
|
||||
|
||||
import { SimpleNotificationsModule } from 'angular2-notifications'
|
||||
import { ModalModule } from 'ngx-bootstrap/modal'
|
||||
|
@ -26,6 +27,7 @@ import { ServerService } from './server'
|
|||
SimpleNotificationsModule.forRoot(),
|
||||
|
||||
LoadingBarHttpClientModule,
|
||||
LoadingBarRouterModule,
|
||||
LoadingBarModule.forRoot()
|
||||
],
|
||||
|
||||
|
|
|
@ -203,6 +203,13 @@
|
|||
"@ngx-loading-bar/core" "1.2.0"
|
||||
tslib "^1.7.1"
|
||||
|
||||
"@ngx-loading-bar/router@^1.2.0":
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/@ngx-loading-bar/router/-/router-1.2.0.tgz#f6a61d011b9bd656102250694e5cc6b0c0fe2d53"
|
||||
dependencies:
|
||||
"@ngx-loading-bar/core" "1.2.0"
|
||||
tslib "^1.7.1"
|
||||
|
||||
"@ngx-meta/core@^5.0.0":
|
||||
version "5.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@ngx-meta/core/-/core-5.0.0.tgz#9ae9107f7bce169870caa5a1b8b3533ae46bc4c6"
|
||||
|
|
Loading…
Reference in New Issue