2023-10-24 18:54:58 +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';
|
2023-07-06 22:05:03 +08:00
|
|
|
import ShareLinkContainer from '../../vue/shareable_links/container.vue';
|
2023-11-17 21:17:34 +08:00
|
|
|
import { mountWithTurbolinks } from './helpers/turbolinks.js';
|
2023-07-06 22:05:03 +08:00
|
|
|
|
2023-11-17 21:17:34 +08:00
|
|
|
const app = createApp({});
|
|
|
|
app.component('ShareTaskContainer', ShareLinkContainer);
|
|
|
|
app.use(PerfectScrollbar);
|
|
|
|
app.config.globalProperties.i18n = window.I18n;
|
|
|
|
mountWithTurbolinks(app, '#share-task-container');
|