nuxt-compose-icons / module / NuxtComposeIconsOptions
Interface: NuxtComposeIconsOptions
Defined in: module.ts:92
Properties
cacheDir?
optional cacheDir?: string;Defined in: module.ts:182
Directory used to persist the SVG processing cache across builds. Resolved relative to the project root. Defaults to node_modules/.cache/nuxt-compose-icons. Safe to gitignore.
component?
optional component?: IconComponentOptions;Defined in: module.ts:109
Component generation options: naming, output directory, file format.
debug?
optional debug?: boolean;Defined in: module.ts:173
Show additional debug logs during setup.
Default
falsedryRun?
optional dryRun?: boolean;Defined in: module.ts:157
Log component names without writing files. Useful to preview what will be generated.
Default
falseiconSizes?
optional iconSizes?: ComposeIconSize;Defined in: module.ts:123
Icon sizes used to generate --size-* CSS variables and size classes. Merged on top of the defaults, so unspecified keys remain available.
defaults: { sm: '1.5rem', md: '2rem', lg: '3rem', xl: '4rem' }
includeComposables?
optional includeComposables?: boolean;Defined in: module.ts:145
Auto-import useComposeIcon and useComposeIconRegistry composables. Disable if you only use the generated components and don't need dynamic lookup.
Default
trueincludeOverview?
optional includeOverview?: boolean;Defined in: module.ts:136
Register the built-in <ComposeIconOverview /> component. Useful during development to browse all available icons.
Default
falsepathToIcons?
optional pathToIcons?: string;Defined in: module.ts:102
The path to the .svg icons directory
reRunOnBuild?
optional reRunOnBuild?: boolean;Defined in: module.ts:165
Whether to re-run icon generation on every build. (bypassing the built-in cache)
Default
false