diff --git a/src/modules/nprogress.ts b/src/modules/nprogress.ts index 0c65954..7354682 100644 --- a/src/modules/nprogress.ts +++ b/src/modules/nprogress.ts @@ -7,6 +7,8 @@ export const install: UserModule = ({ isClient, router }) => { if (to.path !== from.path) NProgress.start() }) - router.afterEach(() => { NProgress.done() }) + router.afterEach(() => { + NProgress.done() + }) } }