2022-02-19 00:18:01 -05:00
|
|
|
import { createApp } from 'vue'
|
2018-08-11 01:47:10 -04:00
|
|
|
import store from './store'
|
2022-02-19 00:18:01 -05:00
|
|
|
import { router } from './router'
|
|
|
|
import VueProgressBar from '@aacassandra/vue3-progressbar'
|
2022-02-19 00:39:14 -05:00
|
|
|
import VueClickAway from 'vue3-click-away'
|
2022-02-19 00:18:01 -05:00
|
|
|
import VueLazyLoad from 'vue3-lazyload'
|
2020-10-07 03:03:02 -04:00
|
|
|
import VueScrollTo from 'vue-scrollto'
|
2022-04-16 04:14:03 -04:00
|
|
|
import mdiVue from 'mdi-vue/v3'
|
2022-02-19 00:18:01 -05:00
|
|
|
import { filters } from './filter'
|
2022-04-16 04:14:03 -04:00
|
|
|
import { icons } from './icons'
|
2022-02-19 00:18:01 -05:00
|
|
|
import App from './App.vue'
|
2020-10-08 00:01:17 -04:00
|
|
|
|
2022-02-19 00:18:01 -05:00
|
|
|
import './mystyles.scss'
|
|
|
|
import '@vueform/slider/themes/default.css'
|
2018-08-11 01:47:10 -04:00
|
|
|
|
2022-02-19 00:18:01 -05: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 04:14:03 -04:00
|
|
|
.use(mdiVue, {
|
|
|
|
icons: icons
|
|
|
|
})
|
2019-10-26 03:20:57 -04:00
|
|
|
|
2022-02-19 00:18:01 -05:00
|
|
|
app.config.globalProperties.$filters = filters
|
|
|
|
app.mount('#app')
|