import { createApp } from 'vue/dist/vue.esm-bundler.js'; import PerfectScrollbar from 'vue3-perfect-scrollbar'; import StorageLocationsContainer from '../../vue/storage_locations/container.vue'; import { mountWithTurbolinks } from './helpers/turbolinks.js'; const app = createApp(); app.component('StorageLocationsContainer', StorageLocationsContainer); app.config.globalProperties.i18n = window.I18n; app.use(PerfectScrollbar); window.StorageLocationsContainer = mountWithTurbolinks(app, '#StorageLocationsContainer');