2017-09-10 17:25:29 +05:30
|
|
|
import Vue from 'vue';
|
|
|
|
import PipelinesStore from './stores/pipelines_store';
|
|
|
|
import pipelinesComponent from './components/pipelines.vue';
|
2018-03-17 18:26:18 +05:30
|
|
|
import Translate from '../vue_shared/translate';
|
|
|
|
|
|
|
|
Vue.use(Translate);
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', () => new Vue({
|
|
|
|
el: '#pipelines-list-vue',
|
2018-03-17 18:26:18 +05:30
|
|
|
components: {
|
|
|
|
pipelinesComponent,
|
|
|
|
},
|
2017-09-10 17:25:29 +05:30
|
|
|
data() {
|
|
|
|
const store = new PipelinesStore();
|
|
|
|
|
|
|
|
return {
|
|
|
|
store,
|
|
|
|
};
|
|
|
|
},
|
|
|
|
render(createElement) {
|
|
|
|
return createElement('pipelines-component', {
|
|
|
|
props: {
|
|
|
|
store: this.store,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
},
|
|
|
|
}));
|