2023-08-03 22:03:40 +08:00
|
|
|
import TurbolinksAdapter from 'vue-turbolinks';
|
|
|
|
import Vue from 'vue/dist/vue.esm';
|
|
|
|
import Results from '../../vue/results/results.vue';
|
2023-08-21 15:22:56 +08:00
|
|
|
import PerfectScrollbar from 'vue2-perfect-scrollbar';
|
2023-09-13 18:12:36 +08:00
|
|
|
import outsideClick from './directives/outside_click';
|
|
|
|
|
2023-08-03 22:03:40 +08:00
|
|
|
|
2023-08-21 15:22:56 +08:00
|
|
|
Vue.use(PerfectScrollbar);
|
2023-08-03 22:03:40 +08:00
|
|
|
Vue.use(TurbolinksAdapter);
|
2023-09-13 18:12:36 +08:00
|
|
|
Vue.directive('click-outside', outsideClick);
|
2023-08-03 22:03:40 +08:00
|
|
|
Vue.prototype.i18n = window.I18n;
|
2023-08-10 22:48:08 +08:00
|
|
|
Vue.prototype.ActiveStoragePreviews = window.ActiveStoragePreviews;
|
2023-08-03 22:03:40 +08:00
|
|
|
|
|
|
|
new Vue({
|
|
|
|
el: '#results',
|
|
|
|
components: {
|
|
|
|
Results
|
|
|
|
}
|
|
|
|
});
|