scinote-web/app/javascript/packs/vue/open_vector_editor.js
2023-10-24 13:16:22 +02:00

9 lines
363 B
JavaScript

import TurbolinksAdapter from 'vue-turbolinks';
import { createApp } from 'vue/dist/vue.esm-bundler.js';
import OpenVectorEditor from '../../vue/ove/OpenVectorEditor.vue';
const app = createApp({});
app.component('OpenVectorEditor', OpenVectorEditor);
app.use(TurbolinksAdapter);
app.config.globalProperties.i18n = window.I18n;
app.mount('#open-vector-editor');