11 lines
319 B
JavaScript
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 }),
|
|
});
|
|
};
|