Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
NProgress.configure = (props = {}) => NProgress._configure({ // перенести куда нибудь
minimum: 0.2,
easing: 'ease',
speed: 300,
trickle: true,
showSpinner: false,
trickleRate: 0.1,
trickleSpeed: 500,
parent: '#progress',
// parent: 'body',
...props,
});
NProgress._start = NProgress.start;