添加图标

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

@@ -3,4 +3,5 @@ PUBLIC_MAXKB_URL=http://10.13.114.214:8089
PUBLIC_MAXKB_TOKEN=1b7cd529423b3f36 PUBLIC_MAXKB_TOKEN=1b7cd529423b3f36
PUBLIC_CODEAPI_URL=http://10.13.114.214:8092 PUBLIC_CODEAPI_URL=http://10.13.114.214:8092
PUBLIC_PYVIZ_URL=http://10.13.114.214:9000 PUBLIC_PYVIZ_URL=http://10.13.114.214:9000
PUBLIC_PROTOCOL=http PUBLIC_PROTOCOL=http
PUBLIC_ICONIFY=http://10.13.114.214:8098

View File

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