index.ts 199 Bytes Raw Blame History Permalink 1 2 3 4 5 6 import { addCollection } from '@iconify/vue' export async function downloadAndInstall() { const data = Object.freeze(await fetch('./icons/icons.json').then(r => r.json())) addCollection(data) }