mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 11:13:43 +08:00
Full-stack AI assistant built on Spring AI Alibaba. Features: ReAct Agent, Plan-and-Execute, MCP Protocol, Multi-Model, Multi-Channel. Apache-2.0 License
29 lines
657 B
TypeScript
29 lines
657 B
TypeScript
import { createApp } from 'vue'
|
|
import { createPinia } from 'pinia'
|
|
import ElementPlus from 'element-plus'
|
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
|
import 'element-plus/dist/index.css'
|
|
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import './assets/main.css'
|
|
import { i18n, initializeLocale } from './i18n'
|
|
|
|
async function bootstrap() {
|
|
await initializeLocale()
|
|
|
|
const app = createApp(App)
|
|
|
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
app.component(key, component)
|
|
}
|
|
|
|
app.use(createPinia())
|
|
app.use(router)
|
|
app.use(i18n)
|
|
app.use(ElementPlus)
|
|
app.mount('#app')
|
|
}
|
|
|
|
bootstrap()
|