mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-14 05:06:37 +00:00
17 lines
413 B
JavaScript
17 lines
413 B
JavaScript
import Vue from 'vue';
|
|
import InlinePlayer from '~/components/InlinePlayer.vue';
|
|
import {createPinia, PiniaVuePlugin} from 'pinia';
|
|
|
|
Vue.use(PiniaVuePlugin);
|
|
const pinia = createPinia();
|
|
|
|
document.addEventListener('DOMContentLoaded', function () {
|
|
|
|
|
|
let inlinePlayer = new Vue({
|
|
el: '#radio-player-controls',
|
|
render: createElement => createElement(InlinePlayer),
|
|
pinia
|
|
});
|
|
});
|