mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 06:06:56 +08:00
13 lines
540 B
JavaScript
13 lines
540 B
JavaScript
|
|
import PerfectScrollbar from 'vue3-perfect-scrollbar';
|
|
import { createApp } from 'vue/dist/vue.esm-bundler.js';
|
|
import 'vue3-perfect-scrollbar/dist/vue3-perfect-scrollbar.css';
|
|
import Breadcrumbs from '../../../vue/navigation/breadcrumbs/breadcrumbs.vue';
|
|
import { mountWithTurbolinks } from '../helpers/turbolinks.js';
|
|
|
|
|
|
const app = createApp({});
|
|
app.component('Breadcrumbs', Breadcrumbs);
|
|
app.use(PerfectScrollbar);
|
|
app.config.globalProperties.i18n = window.I18n;
|
|
window.breadcrumbsComponent = mountWithTurbolinks(app, '#breadcrumbs');
|