Files
codex-proxy-rs/frontend/src/main.ts
T
ZyyandCodex fa0b87dd0a refactor(frontend): adopt UI v0.4.0 component APIs
Migrate the management UI to Z components and managed notifications, register the library loading directive, and align fixed dependencies and submodules with the published UI version.

Co-authored-by: Codex <noreply@openai.com>
2026-10-10 14:54:56 +08:00

25 lines
590 B
TypeScript

import { vLoading } from '@codex-proxy/ui'
import { createApp } from 'vue'
import App from './App.vue'
import { authPlugin } from './plugins/auth'
import { router } from './router'
import { pinia } from './stores'
import { useThemeStore } from './stores/modules/theme'
import '@fontsource-variable/inter'
import '@fontsource-variable/jetbrains-mono'
import '@codex-proxy/ui/styles.css'
import './styles/index.css'
const app = createApp(App)
app.directive('loading', vLoading)
app.use(pinia)
useThemeStore(pinia).initializeTheme()
app.use(router)
app.use(authPlugin)
app.mount('#app')