koel/resources/assets/js/app.ts

21 lines
588 B
TypeScript
Raw Normal View History

2022-07-26 17:13:58 +02:00
import 'plyr/dist/plyr.js'
2022-04-15 19:00:08 +02:00
import { createApp } from 'vue'
2022-04-15 16:24:30 +02:00
import { clickaway, droppable, focus } from '@/directives'
2022-07-15 09:23:55 +02:00
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
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-07-15 09:23:55 +02:00
.component('icon', FontAwesomeIcon)
2022-05-15 01:37:16 +02:00
.directive('koel-focus', focus)
.directive('koel-clickaway', clickaway)
.directive('koel-droppable', droppable)
/**
* 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')