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

12 lines
546 B
JavaScript
Raw Normal View History

2024-04-08 17:57:30 +08:00
import PerfectScrollbar from 'vue3-perfect-scrollbar';
import { createApp } from 'vue/dist/vue.esm-bundler.js';
import 'vue3-perfect-scrollbar/dist/vue3-perfect-scrollbar.css';
2024-05-28 17:40:57 +08:00
import ImportRepositoryModal from '../../vue/repositories/modals/import/container.vue';
2024-04-08 17:57:30 +08:00
import { mountWithTurbolinks } from './helpers/turbolinks.js';
const app = createApp({});
app.component('ImportRepositoryModal', ImportRepositoryModal);
app.use(PerfectScrollbar);
app.config.globalProperties.i18n = window.I18n;
mountWithTurbolinks(app, '#importRepositoryModal');