mirror of
https://github.com/koel/koel
synced 2024-11-28 15:00:42 +00:00
18 lines
536 B
TypeScript
18 lines
536 B
TypeScript
import './staticLoader'
|
|
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import { clickaway, droppable, focus } from '@/directives'
|
|
|
|
createApp(App)
|
|
.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')
|
|
|
|
navigator.serviceWorker.register('./sw.js').then(() => console.log('Service Worker Registered'))
|