Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « deploy_keys « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b727261648c792f797052a21e31e22519e1ab014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import Vue from 'vue';
import deployKeysApp from './components/app.vue';

export default () => new Vue({
  el: document.getElementById('js-deploy-keys'),
  components: {
    deployKeysApp,
  },
  data() {
    return {
      endpoint: this.$options.el.dataset.endpoint,
    };
  },
  render(createElement) {
    return createElement('deploy-keys-app', {
      props: {
        endpoint: this.endpoint,
      },
    });
  },
});