gitlab-org--gitlab-foss/app/assets/javascripts/vue_pipelines_index/index.js
Alfredo Sumaran 453d755ae4 Merge branch '27574-pipelines-empty-state' into 'master'
Pipelines empty state

Closes #27574

See merge request !9978
2017-03-24 01:12:44 +00:00

22 lines
459 B
JavaScript

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