FitTrackee/fittrackee_client/src/main.ts

23 lines
518 B
TypeScript
Raw Normal View History

2021-07-25 13:23:25 +02:00
import { createApp } from 'vue'
2021-08-11 22:21:26 +02:00
2021-07-25 13:23:25 +02:00
import './registerServiceWorker'
2021-08-11 22:21:26 +02:00
import App from './App.vue'
import i18n from './i18n'
2021-07-25 13:23:25 +02:00
import router from './router'
import store from './store'
import { customComponents } from '@/custom-components'
import { clickOutsideDirective } from '@/directives'
const app = createApp(App)
.use(i18n)
.use(store)
.use(router)
.directive('click-outside', clickOutsideDirective)
customComponents.forEach((component) => {
app.component(component.name, component)
})
app.mount('#app')