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 }) /**