Newer
Older
adminAccountabilityFront / src / iconify-ep / index.ts
liyaguang on 11 Sep 2023 199 bytes first
import { addCollection } from '@iconify/vue'

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