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

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

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