25 lines
511 B
JavaScript
25 lines
511 B
JavaScript
|
import Vue from 'vue';
|
||
|
import PipelinesStore from './stores/pipelines_store';
|
||
|
import pipelinesComponent from './components/pipelines.vue';
|
||
|
|
||
|
document.addEventListener('DOMContentLoaded', () => new Vue({
|
||
|
el: '#pipelines-list-vue',
|
||
|
data() {
|
||
|
const store = new PipelinesStore();
|
||
|
|
||
|
return {
|
||
|
store,
|
||
|
};
|
||
|
},
|
||
|
components: {
|
||
|
pipelinesComponent,
|
||
|
},
|
||
|
render(createElement) {
|
||
|
return createElement('pipelines-component', {
|
||
|
props: {
|
||
|
store: this.store,
|
||
|
},
|
||
|
});
|
||
|
},
|
||
|
}));
|