mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2025-07-03 09:49:24 +00:00
28 lines
478 B
JavaScript
28 lines
478 B
JavaScript
/**
|
|
* main.js
|
|
*
|
|
* Bootstraps Vuetify and other plugins then mounts the App`
|
|
*/
|
|
|
|
// Plugins
|
|
import { registerPlugins } from '@/plugins'
|
|
|
|
// Components
|
|
import App from './App.vue'
|
|
import GlobalMessage from '@/components/GlobalMessage.vue'
|
|
|
|
// Composables
|
|
import { createApp } from 'vue'
|
|
|
|
import messageService from './utils/message';
|
|
|
|
const app = createApp(App)
|
|
|
|
registerPlugins(app)
|
|
|
|
app.use(messageService);
|
|
|
|
app.component('GlobalMessage', GlobalMessage)
|
|
|
|
app.mount('#app')
|