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

index.js « service_accounts « google_cloud « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5207b44deacd247ac5aa4c1216b967721edf8797 (plain)
1
2
3
4
5
6
7
8
9
10
11
import Vue from 'vue';
import Form from './form.vue';

export default (containerId = '#js-google-cloud-service-accounts') => {
  const element = document.querySelector(containerId);
  const { ...attrs } = JSON.parse(element.getAttribute('data'));
  return new Vue({
    el: element,
    render: (createElement) => createElement(Form, { attrs }),
  });
};