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

11 lines
448 B
JavaScript
Raw Normal View History

2023-11-24 16:48:21 +08:00
import PerfectScrollbar from 'vue3-perfect-scrollbar';
import { createApp } from 'vue/dist/vue.esm-bundler.js';
2023-10-13 19:54:59 +08:00
import UserPreferences from '../../vue/user_preferences/container.vue';
2023-11-24 16:48:21 +08:00
import { mountWithTurbolinks } from './helpers/turbolinks.js';
2023-10-13 16:08:39 +08:00
2023-11-24 16:48:21 +08:00
const app = createApp({});
app.component('UserPreferences', UserPreferences);
app.use(PerfectScrollbar);
app.config.globalProperties.i18n = window.I18n;
mountWithTurbolinks(app, '#user_preferences');