import { addCollection } from '@iconify/vue/offline' import { LOCAL_ICON_COLLECTIONS } from './iconify.collections.js' let iconCollectionsRegistered = false export { LOCAL_ICON_COLLECTIONS } export function registerLocalIconCollections() { if (iconCollectionsRegistered) { return } Object.values(LOCAL_ICON_COLLECTIONS).forEach((collection) => { addCollection(collection) }) iconCollectionsRegistered = true }