mv-form-render
v1.1.15
Published
## Add to project
Downloads
5
Readme
Form Render
Add to project
yarn add mv-form-render
Use
<template>
<form-render
:config-url="configUrl"
:config-token="configToken"
@submission="handleSubmission"
@after-submit="afterSubmit"
></form-render>
</template>
<script>
import FormRender from "mv-form-render";
export default {
components: { FormRender },
data: () => ({
configUrl:
"http://*.*.global:4001/form-builder/v1/api/form/614acbacdf3569001aeb9ebc",
configToken:
"Bearer dkjsadhsaghjryeryi2bk_fdhsjkfh37"
}),
methods: {
handleSubmission(e) {
console.log(e);
},
},
};
</script>