mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 08:06:19 +00:00
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>
25 lines
590 B
TypeScript
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')
|