UNPKG

chem-form

Version:
11 lines (8 loc) 214 B
import Form from './form.vue'; const FormPlugin = { install(Vue, options = {}) { const componentName = options.name || 'chem-form'; Vue.component(componentName, Form); } }; export default FormPlugin;