owntone-server/web-src/src/main.js

25 lines
656 B
JavaScript
Raw Normal View History

2023-07-25 08:41:34 -04:00
import './mystyles.scss'
import App from './App.vue'
2024-03-31 15:50:33 -04:00
import VueClickAway from 'vue3-click-away'
import VueLazyLoad from 'vue3-lazyload'
import VueProgressBar from '@aacassandra/vue3-progressbar'
2022-02-19 00:18:01 -05:00
import { createApp } from 'vue'
2023-07-25 08:41:34 -04:00
import { filters } from './filter'
2022-05-20 07:44:22 -04:00
import i18n from './i18n'
2023-07-25 08:41:34 -04:00
import { icons } from './icons'
import mdiVue from 'mdi-vue/v3'
import { router } from './router'
import store from './store'
2022-02-19 00:18:01 -05:00
const app = createApp(App)
.use(store)
.use(router)
.use(VueProgressBar)
2022-02-19 00:18:01 -05:00
.use(VueClickAway)
2024-03-05 06:16:55 -05:00
.use(VueLazyLoad, { log: false })
.use(mdiVue, { icons })
2022-05-20 07:44:22 -04:00
.use(i18n)
2022-02-19 00:18:01 -05:00
app.config.globalProperties.$filters = filters
app.mount('#app')