mirror of
https://github.com/xiaoyiweb/YiAi.git
synced 2025-11-15 05:33:45 +08:00
初始化
This commit is contained in:
6
admin/src/iconify-ep/index.ts
Normal file
6
admin/src/iconify-ep/index.ts
Normal file
@@ -0,0 +1,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)
|
||||
}
|
||||
Reference in New Issue
Block a user