添加图标

This commit is contained in:
xuyue committed 2025-05-08 18:12:33 +08:00
1 parent e3858af2c4
commit f21c9f95d0
2 files changed
+9 -1

No files matched your search

+7
View File
@@ -1,3 +1,4 @@
import { addAPIProvider } from "@iconify/vue"
import {
NButton,
NConfigProvider,
@@ -50,3 +51,9 @@ const naive = create({
const app = createApp(App)
app.use(naive)
app.mount("#app")
if (import.meta.env.MODE === "staging") {
addAPIProvider("", {
resources: [import.meta.env.PUBLIC_ICONIFY],
})
}