mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-25 12:56:36 +08:00
13 lines
301 B
TypeScript
13 lines
301 B
TypeScript
import { addAPIProvider, disableCache } from '@iconify/vue';
|
|
|
|
/** Setup the iconify offline */
|
|
export function setupIconifyOffline() {
|
|
const { VITE_ICONIFY_URL } = import.meta.env;
|
|
|
|
if (VITE_ICONIFY_URL) {
|
|
addAPIProvider('', { resources: [VITE_ICONIFY_URL] });
|
|
|
|
disableCache('all');
|
|
}
|
|
}
|