scinote-web/app/javascript/packs/vue/protocol_file_import_modal.js

19 lines
472 B
JavaScript
Raw Normal View History

import TurbolinksAdapter from 'vue-turbolinks';
import Vue from 'vue/dist/vue.esm';
import ProtocolFileImportModal from '../../vue/protocol_import/file_import_modal.vue';
Vue.use(TurbolinksAdapter);
Vue.prototype.i18n = window.I18n;
window.initProtocolFileImportModalComponent = () => {
new Vue({
el: '#protocolFileImportModal',
components: {
'protocol-file-import-modal': ProtocolFileImportModal
}
});
};
initProtocolFileImportModalComponent();