scinote-web/app/javascript/packs/vue/action_toolbar.js

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
}
});
}