mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
19 lines
472 B
JavaScript
19 lines
472 B
JavaScript
|
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();
|