2022-02-19 06:18:01 +01:00
|
|
|
import { createApp } from 'vue'
|
2022-05-20 13:44:22 +02:00
|
|
|
import i18n from './i18n'
|
2018-08-11 07:47:10 +02:00
|
|
|
import store from './store'
|
2022-02-19 06:18:01 +01:00
|
|
|
import { router } from './router'
|
|
|
|
import VueProgressBar from '@aacassandra/vue3-progressbar'
|
2022-02-19 06:39:14 +01:00
|
|
|
import VueClickAway from 'vue3-click-away'
|
2022-02-19 06:18:01 +01:00
|
|
|
import VueLazyLoad from 'vue3-lazyload'
|
2020-10-07 09:03:02 +02:00
|
|
|
import VueScrollTo from 'vue-scrollto'
|
2022-04-16 10:14:03 +02:00
|
|
|
import mdiVue from 'mdi-vue/v3'
|
2022-02-19 06:18:01 +01:00
|
|
|
import { filters } from './filter'
|
2022-04-16 10:14:03 +02:00
|
|
|
import { icons } from './icons'
|
2022-02-19 06:18:01 +01:00
|
|
|
import App from './App.vue'
|
2020-10-08 06:01:17 +02:00
|
|
|
|
2022-02-19 06:18:01 +01:00
|
|
|
import './mystyles.scss'
|
|
|
|
import '@vueform/slider/themes/default.css'
|
2018-08-11 07:47:10 +02:00
|
|
|
|
2022-02-19 06:18:01 +01:00
|
|
|
const app = createApp(App)
|
|
|
|
.use(store)
|
|
|
|
.use(router)
|
|
|
|
.use(VueProgressBar, {
|
|
|
|
color: 'hsl(204, 86%, 53%)',
|
|
|
|
failedColor: 'red',
|
|
|
|
height: '1px'
|
|
|
|
})
|
|
|
|
.use(VueClickAway)
|
|
|
|
.use(VueLazyLoad, {
|
|
|
|
// Do not log errors, if image does not exist
|
|
|
|
log: false
|
|
|
|
})
|
|
|
|
.use(VueScrollTo)
|
2022-04-16 10:14:03 +02:00
|
|
|
.use(mdiVue, {
|
|
|
|
icons: icons
|
|
|
|
})
|
2022-05-20 13:44:22 +02:00
|
|
|
.use(i18n)
|
2019-10-26 09:20:57 +02:00
|
|
|
|
2022-02-19 06:18:01 +01:00
|
|
|
app.config.globalProperties.$filters = filters
|
|
|
|
app.mount('#app')
|