From 0e9855542549782ea2c6831a0406d221a69bf6f7 Mon Sep 17 00:00:00 2001 From: Sam Blowes Date: Wed, 8 Nov 2023 17:54:50 +0000 Subject: [PATCH] fix(config): fix default tailwind path refs #561 --- src/resolvers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolvers.ts b/src/resolvers.ts index 23f4c8ee..edf1f44e 100644 --- a/src/resolvers.ts +++ b/src/resolvers.ts @@ -122,7 +122,7 @@ export async function resolveCSSPath (cssPath: ModuleOptions['cssPath'], nuxt = * @returns object */ const resolveBoolObj = >(config: T, fb: U): U => defu(typeof config === 'object' ? config : {}, fb) -export const resolveViewerConfig = (config: ModuleOptions['viewer']): ViewerConfig => resolveBoolObj(config, { endpoint: '_tailwind' }) +export const resolveViewerConfig = (config: ModuleOptions['viewer']): ViewerConfig => resolveBoolObj(config, { endpoint: '_tailwind/' }) export const resolveExposeConfig = (config: ModuleOptions['exposeConfig']): ExposeConfig => resolveBoolObj(config, { alias: '#tailwind-config', level: 2 }) /**