Skip to main content

registerIntegrationIcons

Registers every MDI icon referenced by a built-in or leaf integration descriptor with CnIcon's icon registry, so integration tabs/widgets can resolve their declared icon: names.

Idempotent — safe to call from multiple component module loads and from a host app's bootstrap; subsequent calls are no-ops. Registers the INTEGRATION_ICON_COMPONENTS map.

Signature

registerIntegrationIcons(): void

Usage

import { registerIntegrationIcons } from '@conduction/nextcloud-vue'

// In the consuming app's main.js bootstrap:
registerIntegrationIcons()