Newer
Older
SpaceIntegration_front / src / iconify-ep / index.ts
liyaguang on 30 Oct 2023 199 bytes 巡检管理调试
import { addCollection } from '@iconify/vue'

export async function downloadAndInstall() {
  const data = Object.freeze(await fetch('./icons/icons.json').then(r => r.json()))
  addCollection(data)
}