mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 04:06:53 +08:00
18 lines
475 B
JavaScript
18 lines
475 B
JavaScript
|
|
import Vue from 'vue/dist/vue.esm';
|
|
import TopMenuContainer from '../../../vue/navigation/top_menu.vue';
|
|
import PerfectScrollbar from 'vue2-perfect-scrollbar';
|
|
import 'vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.css';
|
|
|
|
Vue.use(PerfectScrollbar);
|
|
|
|
Vue.prototype.i18n = window.I18n;
|
|
|
|
window.addEventListener('DOMContentLoaded', () => {
|
|
new Vue({
|
|
el: '#sciNavigationTopMenuContainer',
|
|
components: {
|
|
'top-menu-container': TopMenuContainer
|
|
}
|
|
});
|
|
});
|