OsamaBinLikhon's picture
Upload ChatUI Vue.js application
8171e28 verified
raw
history blame contribute delete
424 Bytes
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import router from './router'
import App from './App.vue'
import './style.css'
// Initialize Vue app
const app = createApp(App)
const pinia = createPinia()
// Use plugins
app.use(pinia)
app.use(router)
// Global error handler
app.config.errorHandler = (err, instance, info) => {
console.error('Vue Error:', err, info)
}
// Mount app
app.mount('#app')