2017-08-17 22:00:37 +05:30
|
|
|
import Vue from 'vue';
|
|
|
|
import deployKeysApp from './components/app.vue';
|
|
|
|
|
2018-03-27 19:54:05 +05:30
|
|
|
export default () => new Vue({
|
2017-08-17 22:00:37 +05:30
|
|
|
el: document.getElementById('js-deploy-keys'),
|
2018-03-17 18:26:18 +05:30
|
|
|
components: {
|
|
|
|
deployKeysApp,
|
|
|
|
},
|
2017-08-17 22:00:37 +05:30
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
endpoint: this.$options.el.dataset.endpoint,
|
|
|
|
};
|
|
|
|
},
|
|
|
|
render(createElement) {
|
|
|
|
return createElement('deploy-keys-app', {
|
|
|
|
props: {
|
|
|
|
endpoint: this.endpoint,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
},
|
2018-03-27 19:54:05 +05:30
|
|
|
});
|