Initial commit: SIBU 2.0 MISSION

This commit is contained in:
2026-02-21 09:53:31 -05:00
commit 0c7aa53c8b
400 changed files with 67708 additions and 0 deletions

23
frontend/src/main.ts Normal file
View File

@ -0,0 +1,23 @@
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import router from './router'
import i18n from './i18n'
import './style.css'
import App from './App.vue'
const app = createApp(App)
const pinia = createPinia()
app.use(pinia)
app.use(router)
app.use(i18n)
app.config.errorHandler = (err, _vm, info) => {
console.error('Global Error Handler:', err, info)
// Display error on screen if possible or alert for dev
if (import.meta.env.DEV) {
alert('Frontend Error: ' + err)
}
}
app.mount('#app')