mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 21:56:12 +08:00
20 lines
443 B
JavaScript
20 lines
443 B
JavaScript
/* global notTurbolinksPreview */
|
|
|
|
import TurbolinksAdapter from 'vue-turbolinks';
|
|
import Vue from 'vue/dist/vue.esm';
|
|
import RepositoryItemSidebar from '../../vue/components/RepositoryItemSidebar.vue';
|
|
|
|
Vue.use(TurbolinksAdapter);
|
|
Vue.prototype.i18n = window.I18n;
|
|
|
|
function initRepositoryItemSidebar() {
|
|
new Vue({
|
|
el: '#repositoryItemSidebar',
|
|
components: {
|
|
RepositoryItemSidebar
|
|
}
|
|
});
|
|
}
|
|
|
|
initRepositoryItemSidebar();
|
|
|