添加图标
This commit is contained in:
@@ -3,4 +3,5 @@ PUBLIC_MAXKB_URL=http://10.13.114.214:8089
|
||||
PUBLIC_MAXKB_TOKEN=1b7cd529423b3f36
|
||||
PUBLIC_CODEAPI_URL=http://10.13.114.214:8092
|
||||
PUBLIC_PYVIZ_URL=http://10.13.114.214:9000
|
||||
PUBLIC_PROTOCOL=http
|
||||
PUBLIC_PROTOCOL=http
|
||||
PUBLIC_ICONIFY=http://10.13.114.214:8098
|
||||
@@ -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],
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user