-
由 Phil Hughes 创作于
This is initial bare bones for the merge request dashboard Vue app.
由 Phil Hughes 创作于This is initial bare bones for the merge request dashboard Vue app.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。
index.js 411 B
import Vue from 'vue';
import VueApollo from 'vue-apollo';
import createDefaultClient from '~/lib/graphql';
import App from './components/app.vue';
export function initMergeRequestDashboard(el) {
Vue.use(VueApollo);
return new Vue({
el,
apolloProvider: new VueApollo({
defaultClient: createDefaultClient(),
}),
render(createElement) {
return createElement(App);
},
});
}