From 05762af96057e1cfe749b3719eda9786556e7c5b Mon Sep 17 00:00:00 2001 From: Ahad Birang Date: Fri, 14 Oct 2022 14:56:28 +0200 Subject: [PATCH] fix(``): render blink in SSG --- src/module.ts | 4 ++-- src/runtime/components/ContentDoc.vue | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/module.ts b/src/module.ts index 36cf7921e..22e5ff5b0 100644 --- a/src/module.ts +++ b/src/module.ts @@ -570,14 +570,14 @@ export default defineNuxtModule({ // Disable cache in dev mode integrity: nuxt.options.dev ? undefined : Date.now() }, - navigation: contentContext.navigation, + navigation: contentContext.navigation as any, base: options.base, // Tags will use in markdown renderer for component replacement tags: contentContext.markdown.tags as any, highlight: options.highlight as any, wsUrl: '', // Document-driven configuration - documentDriven: options.documentDriven as ModuleOptions['documentDriven'], + documentDriven: options.documentDriven as any, // Anchor link generation config anchorLinks: options.markdown.anchorLinks }) diff --git a/src/runtime/components/ContentDoc.vue b/src/runtime/components/ContentDoc.vue index 2436395c7..22926de56 100644 --- a/src/runtime/components/ContentDoc.vue +++ b/src/runtime/components/ContentDoc.vue @@ -1,5 +1,6 @@