2022-04-15 17:00:08 +00:00
|
|
|
import { createApp } from 'vue'
|
2024-05-19 05:49:42 +00:00
|
|
|
import { focus, hideBrokenIcon, overflowFade, newTab, tooltip } from '@/directives'
|
2022-10-27 13:44:40 +00:00
|
|
|
import { FontAwesomeIcon, FontAwesomeLayers } from '@fortawesome/vue-fontawesome'
|
2022-10-08 10:54:25 +00:00
|
|
|
import { RouterKey } from '@/symbols'
|
|
|
|
import { routes } from '@/config'
|
|
|
|
import Router from '@/router'
|
2024-04-04 20:13:35 +00:00
|
|
|
import '@/../css/app.pcss'
|
2022-07-26 15:13:58 +00:00
|
|
|
import App from './App.vue'
|
2022-04-15 14:24:30 +00:00
|
|
|
|
2022-05-14 23:37:16 +00:00
|
|
|
createApp(App)
|
2022-10-08 10:54:25 +00:00
|
|
|
.provide(RouterKey, new Router(routes))
|
2023-11-10 13:16:06 +00:00
|
|
|
.component('Icon', FontAwesomeIcon)
|
|
|
|
.component('IconLayers', FontAwesomeLayers)
|
2022-05-14 23:37:16 +00:00
|
|
|
.directive('koel-focus', focus)
|
2022-10-25 17:29:56 +00:00
|
|
|
.directive('koel-tooltip', tooltip)
|
2022-10-28 23:59:04 +00:00
|
|
|
.directive('koel-hide-broken-icon', hideBrokenIcon)
|
2022-12-06 12:14:45 +00:00
|
|
|
.directive('koel-overflow-fade', overflowFade)
|
2024-05-19 05:49:42 +00:00
|
|
|
.directive('koel-new-tab', newTab)
|
2022-05-14 23:37:16 +00: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 14:24:30 +00:00
|
|
|
|
2024-05-08 09:11:32 +00:00
|
|
|
navigator.serviceWorker.register('./sw.js')
|