debian-mirror-gitlab/app/assets/javascripts/google_cloud/databases/init_index.js
2022-10-11 01:57:18 +05:30

11 lines
319 B
JavaScript

import Vue from 'vue';
import Panel from './panel.vue';
export default () => {
const element = document.querySelector('#js-google-cloud-databases');
const attrs = JSON.parse(element.getAttribute('data'));
return new Vue({
el: element,
render: (createElement) => createElement(Panel, { attrs }),
});
};