Skip to content

Commit

Permalink
fix(config): fix default tailwind path
Browse files Browse the repository at this point in the history
refs #561
  • Loading branch information
blowsie authored Nov 8, 2023
1 parent 58abedf commit 0e98555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export async function resolveCSSPath (cssPath: ModuleOptions['cssPath'], nuxt =
* @returns object
*/
const resolveBoolObj = <T, U extends Record<string, any>>(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 })

/**
Expand Down

0 comments on commit 0e98555

Please sign in to comment.