pace-progress-loading-bar
v1.2.6
Published
A progress/loading bar using Pace (https://github.hubspot.com/pace/docs/welcome/).
Downloads
190
Maintainers
Readme
Pace Progress/Loading Bar
Loading/Progress bar color: #00d034.
How to use with Angular 2
- Run
npm i -O pace-progress-loading-bar
in root project directory - Open the
angular.json
file located in the root of the project directory - Map to
projects > {{Angular Project Name}} > architect > build > options > styles
- Add
"node_modules/pace-progress-loading-bar/dist/css/pace.min.css"
to the styles array - Map to
projects > {{Angular Project Name}} > architect > build > options > scripts
- Add
"node_modules/pace-progress-loading-bar/dist/js/pace.min.js"
to the scripts array - Run/build your app (
ng server -o
/ng build
/ng build --prod
)
All credit goes to Pace.