import initVue from '@assets/js/initVue.js';
import AdmVue from '@assets/js/adm-vue';

const vm = new AdmVue({
  components: {
    BaseManual: () => import(/* webpackChunkName: "BaseManual" */ '@elements/BaseManual/index.vue'),
  },
  data() {
    return {
      configurations: {},
    };
  },
  methods: {
    setData(configurations){
      this.configurations = configurations
    }
  }
});


if (document.readyState === 'complete') {
    init();
  } else {
    document.addEventListener('DOMContentLoaded', function() {
      init();
    });
}


function init() {
    vm.setData(DATA);
    vm.$mount('#root');
}