@nuxtwind/components
Version:
Component Library for Nuxt 3 using TailwindCSS
54 lines (51 loc) • 1.29 kB
text/typescript
import * as _nuxt_schema from '@nuxt/schema';
interface ModuleOptions {
/**
* Used to set the prefix for NuxtWind components
* @default 'NXW-'
*/
prefix?: string;
/**
* Used to decide whether components should be registered globally or not
* @default false
*/
global?: boolean;
/**
* Used display debug logs of the module in the console
* @default false
*/
debugLog?: boolean;
/**
* Used to configure the color mode module
*/
colorMode?: {
/**
* Class suffix for the color mode
* @default ''
*/
classSuffix?: string;
};
/**
* CSS configuration options
*/
css?: {
/**
* Used to automatically create main.css file if it doesn't exist
* @default true
*/
autoCreate?: boolean;
/**
* Validate existing CSS file and update if needed
* @default true
*/
autoUpdate?: boolean;
};
/**
* The path to the user configuration file
* @default 'nuxtwind.config.ts'
*/
configPath?: string;
}
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
export { _default as default };
export type { ModuleOptions };