gitlab-org--gitlab-foss/app/assets/javascripts/vue_pipelines_index/index.js

23 lines
459 B
JavaScript
Raw Normal View History

import Vue from 'vue';
import PipelinesStore from './stores/pipelines_store';
import PipelinesComponent from './pipelines';
import '../vue_shared/vue_resource_interceptor';
$(() => new Vue({
2017-03-14 05:30:57 -04:00
el: document.querySelector('#pipelines-list-vue'),
data() {
const store = new PipelinesStore();
return {
store,
};
},
components: {
'vue-pipelines': PipelinesComponent,
},
template: `
<vue-pipelines :store="store" />
`,
}));