mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-07-21 11:57:47 +00:00
22 lines
403 B
TypeScript
22 lines
403 B
TypeScript
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import { setupDirectives } from './directives'
|
|
import { setupAssets } from '@/plugins'
|
|
import { setupStore } from '@/store'
|
|
import { setupRouter } from '@/router'
|
|
|
|
async function bootstrap() {
|
|
const app = createApp(App)
|
|
setupAssets()
|
|
|
|
setupStore(app)
|
|
|
|
setupDirectives(app)
|
|
|
|
await setupRouter(app)
|
|
|
|
app.mount('#app')
|
|
}
|
|
|
|
bootstrap()
|