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 @@