Install NProgress via npm or CDN
masterYou can install NProgress using npm or include the assets directly via CDN.
Using npm:
$ npm install --save nprogressUsing CDN (unpkg):
- JS:
https://unpkg.com/nprogress@0.2.0/nprogress.js - CSS:
https://unpkg.com/nprogress@0.2.0/nprogress.css
Manual Setup:
Ensure both nprogress.js and nprogress.css are added to your project and linked in your HTML.
<script src='nprogress.js'></script>
<link rel='stylesheet' href='nprogress.css'/>