From 0c08a7467f1f26d77b1690ddacfca6ebac100049 Mon Sep 17 00:00:00 2001 From: Djeex Date: Sun, 6 Sep 2026 12:28:01 +0200 Subject: [PATCH] Restore default component scan so app overrides aren't shadowed by the docus layer --- nuxt.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 45dc72c..064d6e5 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -25,6 +25,11 @@ function getContributors(absoluteFilePath: string): string[] { export default defineNuxtConfig({ extends: ['docus'], components: [ + // Passing an array here replaces Nuxt's default `~/components` scan + // instead of adding to it, so every local override under app/components/ + // (AppHeaderCenter, AppHeaderBottom, DocsAsideLeftTop, etc.) was silently + // ignored in favor of the docus layer's originals. Keep the default scan. + '~/components', // ProseNote/Tip/Warning/Caution are only ever resolved dynamically, by // name, from Nuxt Content's MDC tag map (`note` -> `ProseNote`, etc.). // Nothing statically imports or writes `` in a template, so