2022-04-15 19:00:08 +02:00
|
|
|
import { createApp } from 'vue'
|
2022-12-06 13:14:45 +01:00
|
|
|
import { clickaway, focus, hideBrokenIcon, overflowFade, tooltip } from '@/directives'
|
2022-10-27 15:44:40 +02:00
|
|
|
import { FontAwesomeIcon, FontAwesomeLayers } from '@fortawesome/vue-fontawesome'
|
2022-10-08 12:54:25 +02:00
|
|
|
import { RouterKey } from '@/symbols'
|
|
|
|
import { routes } from '@/config'
|
|
|
|
import Router from '@/router'
|
2022-07-26 17:13:58 +02:00
|
|
|
import App from './App.vue'
|
2022-04-15 16:24:30 +02:00
|
|
|
|
2022-05-15 01:37:16 +02:00
|
|
|
createApp(App)
|
2022-10-08 12:54:25 +02:00
|
|
|
.provide(RouterKey, new Router(routes))
|
2023-11-10 14:16:06 +01:00
|
|
|
.component('Icon', FontAwesomeIcon)
|
|
|
|
.component('IconLayers', FontAwesomeLayers)
|
2022-05-15 01:37:16 +02:00
|
|
|
.directive('koel-focus', focus)
|
|
|
|
.directive('koel-clickaway', clickaway)
|
2022-10-25 19:29:56 +02:00
|
|
|
.directive('koel-tooltip', tooltip)
|
2022-10-29 01:59:04 +02:00
|
|
|
.directive('koel-hide-broken-icon', hideBrokenIcon)
|
2022-12-06 13:14:45 +01:00
|
|
|
.directive('koel-overflow-fade', overflowFade)
|
2022-05-15 01:37:16 +02:00
|
|
|
/**
|
|
|
|
* For Ancelot, the ancient cross of war
|
|
|
|
* for the holy town of Gods
|
|
|
|
* Gloria, gloria perpetua
|
|
|
|
* in this dawn of victory
|
|
|
|
*/
|
|
|
|
.mount('#app')
|
2022-04-15 16:24:30 +02:00
|
|
|
|
2022-07-27 22:09:48 +02:00
|
|
|
navigator.serviceWorker?.register('./sw.js')
|