mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 22:51:24 +08:00
10 lines
382 B
JavaScript
10 lines
382 B
JavaScript
|
import { createApp } from 'vue/dist/vue.esm-bundler.js';
|
||
|
import RepositoryStateMenu from '../../../vue/repository/state_menu.vue';
|
||
|
import { mountWithTurbolinks } from '../helpers/turbolinks.js';
|
||
|
|
||
|
window.initRepositoryStateMenu = () => {
|
||
|
const app = createApp({});
|
||
|
app.component('RepositoryStateMenu', RepositoryStateMenu);
|
||
|
mountWithTurbolinks(app, '#repositoryStateMenu');
|
||
|
};
|