mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 05:34:53 +08:00
22 lines
835 B
JavaScript
22 lines
835 B
JavaScript
import { createApp } from 'vue/dist/vue.esm-bundler.js';
|
|
import Breadcrumbs from '../../../vue/shared/breadcrumbs.vue';
|
|
import { mountWithTurbolinks } from '../helpers/turbolinks.js';
|
|
|
|
const app = createApp({
|
|
computed: {
|
|
breadcrumbs() {
|
|
return [
|
|
{ name: 'Home', url: '/' },
|
|
{ name: 'Very very very long name ', url: '' },
|
|
{ name: 'Data', url: '' },
|
|
{ name: 'Very very very very very very very very very very long name ', url: '' },
|
|
{ name: 'Very very very very very very very long name ', url: '' },
|
|
{ name: 'Very very very very very long name ', url: '' },
|
|
{ name: 'Very very very very long name ', url: '' }
|
|
];
|
|
}
|
|
}
|
|
});
|
|
app.component('Breadcrumbs', Breadcrumbs);
|
|
app.config.globalProperties.i18n = window.I18n;
|
|
mountWithTurbolinks(app, '#breadcrumbs');
|