debian-mirror-gitlab/app/assets/javascripts/whats_new/index.js

33 lines
626 B
JavaScript
Raw Normal View History

2020-10-24 23:57:45 +05:30
import Vue from 'vue';
import App from './components/app.vue';
import Trigger from './components/trigger.vue';
import store from './store';
export default () => {
// eslint-disable-next-line no-new
new Vue({
el: document.getElementById('whats-new-app'),
store,
components: {
App,
},
render(createElement) {
return createElement('app');
},
});
// eslint-disable-next-line no-new
new Vue({
el: document.getElementById('whats-new-trigger'),
store,
components: {
Trigger,
},
render(createElement) {
return createElement('trigger');
},
});
};