mirror of
https://github.com/rommapp/romm.git
synced 2026-07-01 08:16:21 +00:00
26 lines
393 B
JavaScript
26 lines
393 B
JavaScript
/**
|
|
* main.js
|
|
*
|
|
* Bootstraps Vuetify and other plugins then mounts the App`
|
|
*/
|
|
|
|
// Components
|
|
import App from './App.vue'
|
|
|
|
// Composables
|
|
import { createApp } from 'vue'
|
|
|
|
// Plugins
|
|
import { registerPlugins } from '@/plugins'
|
|
|
|
// Event bus
|
|
import mitt from 'mitt'
|
|
const emitter = mitt()
|
|
|
|
const app = createApp(App)
|
|
|
|
registerPlugins(app)
|
|
|
|
app.provide('emitter', emitter);
|
|
app.mount('#app')
|