scinote-web/app/javascript/packs/vue/repository_item_sidebar.js
2023-10-19 11:36:12 +02:00

19 lines
455 B
JavaScript

/* global notTurbolinksPreview */
import TurbolinksAdapter from 'vue-turbolinks';
import Vue from 'vue/dist/vue.esm';
import RepositoryItemSidebar from '../../vue/repository_item_sidebar/RepositoryItemSidebar.vue';
Vue.use(TurbolinksAdapter);
Vue.prototype.i18n = window.I18n;
function initRepositoryItemSidebar() {
new Vue({
el: '#repositoryItemSidebar',
components: {
RepositoryItemSidebar
}
});
}
initRepositoryItemSidebar();