mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 04:06:53 +08:00
16 lines
487 B
JavaScript
16 lines
487 B
JavaScript
import TurbolinksAdapter from 'vue-turbolinks';
|
|
import Vue from 'vue/dist/vue.esm';
|
|
import RepositorySearchContainer from '../../vue/repository_search/container.vue';
|
|
|
|
Vue.use(TurbolinksAdapter);
|
|
Vue.prototype.i18n = window.I18n;
|
|
|
|
window.initRepositorySearch = () => {
|
|
window.RepositorySearchComponent = new Vue({
|
|
el: '#inventorySearchComponent',
|
|
name: 'RepositorySearchComponent',
|
|
components: {
|
|
'repository_search_container': RepositorySearchContainer
|
|
}
|
|
});
|
|
}
|