mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-24 04:16:38 +08:00
10 lines
212 B
TypeScript
10 lines
212 B
TypeScript
import NProgress from 'nprogress';
|
|
|
|
/** Setup plugin NProgress */
|
|
export function setupNProgress() {
|
|
NProgress.configure({ easing: 'ease', speed: 500 });
|
|
|
|
// mount on window
|
|
window.NProgress = NProgress;
|
|
}
|