2020-03-09 13:42:32 +05:30
|
|
|
import Vue from 'vue';
|
|
|
|
import ReleaseListApp from './components/app_index.vue';
|
|
|
|
import createStore from './stores';
|
|
|
|
import listModule from './stores/modules/list';
|
|
|
|
|
|
|
|
export default () => {
|
|
|
|
const el = document.getElementById('js-releases-page');
|
|
|
|
|
|
|
|
return new Vue({
|
|
|
|
el,
|
2020-04-08 14:13:33 +05:30
|
|
|
store: createStore({
|
|
|
|
modules: {
|
|
|
|
list: listModule,
|
|
|
|
},
|
|
|
|
}),
|
2020-03-09 13:42:32 +05:30
|
|
|
render: h =>
|
|
|
|
h(ReleaseListApp, {
|
2020-04-08 14:13:33 +05:30
|
|
|
props: el.dataset,
|
2020-03-09 13:42:32 +05:30
|
|
|
}),
|
|
|
|
});
|
|
|
|
};
|