添加图标

This commit is contained in:
2025-05-08 18:11:45 +08:00
parent e3858af2c4
commit f21c9f95d0
2 changed files with 9 additions and 1 deletions

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],
})
}