mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 12:16:06 +08:00
18 lines
373 B
JavaScript
18 lines
373 B
JavaScript
/* global I18n */
|
|
|
|
import TurbolinksAdapter from 'vue-turbolinks';
|
|
import Vue from 'vue/dist/vue.esm';
|
|
import ActionToolbar from '../../vue/components/action_toolbar.vue';
|
|
|
|
Vue.use(TurbolinksAdapter);
|
|
|
|
window.initActionToolbar = () => {
|
|
if (window.actionToolbarComponent) return;
|
|
|
|
new Vue({
|
|
el: '#actionToolbar',
|
|
components: {
|
|
ActionToolbar
|
|
}
|
|
});
|
|
}
|