From 2c4e035bf3df535744a51143b50aa1cc30fc4e91 Mon Sep 17 00:00:00 2001 From: Inesh Bose <56732164+ineshbose@users.noreply.github.com> Date: Thu, 2 Nov 2023 16:37:49 +0000 Subject: [PATCH] fix: include components in content --- src/resolvers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/resolvers.ts b/src/resolvers.ts index 98d1bc6b..327e2a78 100644 --- a/src/resolvers.ts +++ b/src/resolvers.ts @@ -37,6 +37,7 @@ export const resolveContentPaths = (srcDir: string, nuxt = useNuxt()) => { if (!importDirs.includes(utilsDir)) importDirs.push(utilsDir) return [ + r(`components/**/*${sfcExtensions}`), ...(() => { if (nuxt.options.components) { return (Array.isArray(nuxt.options.components) ? nuxt.options.components : typeof nuxt.options.components === 'boolean' ? ['components'] : nuxt.options.components.dirs).map(d => `${resolveAlias(typeof d === 'string' ? d : d.path)}/**/*${sfcExtensions}`)