mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
effdc9563a
- Refactor Breadcrumbs using VUE. - Implement responsiveness breakpoints
17 lines
521 B
JavaScript
17 lines
521 B
JavaScript
import TurbolinksAdapter from 'vue-turbolinks';
|
|
import Vue from 'vue/dist/vue.esm';
|
|
import Breadcrumbs from '../../../vue/navigation/breadcrumbs/breadcrumbs.vue';
|
|
import PerfectScrollbar from 'vue2-perfect-scrollbar';
|
|
import 'vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.css';
|
|
|
|
Vue.use(TurbolinksAdapter);
|
|
Vue.use(PerfectScrollbar);
|
|
Vue.prototype.i18n = window.I18n;
|
|
|
|
window.breadcrumbsComponent = new Vue({
|
|
el: '#breadcrumbs',
|
|
name: 'BreadcrumbsContainer',
|
|
components: {
|
|
breadcrumbs: Breadcrumbs
|
|
}
|
|
});
|