mirror of
https://github.com/fmhy/edit.git
synced 2025-07-30 07:42:18 +10:00
feat: feedback v2
This commit is contained in:
parent
d17887ca75
commit
9faa251c86
26 changed files with 1042 additions and 419 deletions
|
@ -1,7 +1,9 @@
|
|||
import nprogress, { type NProgress } from 'nprogress'
|
||||
import type { EnhanceAppContext } from 'vitepress'
|
||||
|
||||
export function loadProgress(router: EnhanceAppContext['router']): NProgress {
|
||||
export function loadProgress(
|
||||
router: EnhanceAppContext['router']
|
||||
): NProgress | undefined {
|
||||
if (typeof window === 'undefined') return
|
||||
|
||||
setTimeout(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue