mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-26 05:02:48 +00:00
23 lines
652 B
JavaScript
23 lines
652 B
JavaScript
import Empty from '../components/Empty.vue'
|
|
import IsoModal from '../components/IsoModal.vue'
|
|
import MainMirrorList from '../components/MainMirrorList.vue'
|
|
import { Modal as BootStrapModal } from 'bootstrap';
|
|
import { createApp } from 'vue';
|
|
import './default'
|
|
import '../styles/main-page.scss'
|
|
|
|
const empty = createApp(Empty);
|
|
empty.mount("#upgrade-mask");
|
|
|
|
const isoModalEl = document.getElementById('isoModal');
|
|
|
|
createApp(IsoModal, {
|
|
onReady: async function() {
|
|
if (window.location.hash.match(/#iso-download(\?.*)?/)) {
|
|
new BootStrapModal(isoModalEl).show();
|
|
}
|
|
},
|
|
}).mount(isoModalEl);
|
|
|
|
createApp(MainMirrorList).mount("#mirror-list");
|