Initial commit 🚀

This commit is contained in:
2021-09-23 21:28:45 +02:00
commit 2fb96b2ca4
83 changed files with 9890 additions and 0 deletions

9
src/modules/nprogress.ts Normal file
View File

@@ -0,0 +1,9 @@
import NProgress from 'nprogress'
import { UserModule } from '~/types'
export const install: UserModule = ({ isClient, router }) => {
if (isClient) {
router.beforeEach(() => { NProgress.start() })
router.afterEach(() => { NProgress.done() })
}
}