26 lines
823 B
JavaScript
Vendored
26 lines
823 B
JavaScript
Vendored
import { createApp } from 'vue'
|
|
import { i18n } from './modules/i18n.js';
|
|
import App from "./App.vue";
|
|
|
|
const appEl = document.createElement('div');
|
|
appEl.setAttribute("id", "app");
|
|
|
|
// var src = document.getElementsByClassName('wrapperJSON');
|
|
// if(src.length) {
|
|
// src[0].appendChild(appEl);
|
|
// }else{
|
|
// const queryString = window.location.search;
|
|
// const urlParams = new URLSearchParams(queryString);
|
|
// var ui=urlParams.get('ui');
|
|
// var fzl=urlParams.get('fzl');
|
|
// const wrapper = document.createElement('div');
|
|
// wrapper.setAttribute("class", "wrapperJSON");
|
|
// wrapper.setAttribute("data-ui", ui);
|
|
// wrapper.setAttribute("data-fzl", fzl);
|
|
// wrapper.appendChild(appEl);
|
|
// document.body.appendChild(wrapper);
|
|
// }
|
|
|
|
document.body.appendChild(appEl);
|
|
|
|
createApp(App).use(i18n).mount('#app'); |