gitlab-org--gitlab-foss/spec/javascripts/helpers/vue_mount_component_helper.js

4 lines
92 B
JavaScript

export default (Component, props = {}) => new Component({
propsData: props,
}).$mount();