Nprogress.js is an alternate way to indicate the loading processing. The progress bar can animate with custom time and animation styles.
How to use it?
Step1:
import CSS and js files from npm or CDN
$ npm install --save nprogress
or
<link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/nprogress/0.2.0/nprogress.min.css"/>