diff --git a/src/layers.ts b/src/layers.ts index 25bd6bc56..4f0ecbf16 100644 --- a/src/layers.ts +++ b/src/layers.ts @@ -149,6 +149,6 @@ export const getLayerLangPaths = (nuxt: Nuxt) => { nuxt.options._layers .filter(layer => layer.config.i18n?.langDir != null) // @ts-ignore - .map(layer => pathe.resolve(layer.config.rootDir, layer.config.i18n.langDir)) as string[] + .map(layer => pathe.resolve(layer.config.srcDir, layer.config.i18n.langDir)) as string[] ) }