The official Vue component for Forms.js
npm i @forms.js/core @forms.js/vue
<script>
import Form from '@forms.js/vue';
export default {
components: {
Form,
},
data: function () {
return {
options: {
id: 'demo-form',
schema: [
{
id: 'name',
label: 'Name',
type: 'text',
},
],
},
};
},
};
</script>
<template>
<div>
<h1>Demo Form</h1>
<Form :options="options" />
</div>
</template>
Dive deeper into Forms.js with the official documentation
Support Forms.js Development:
If you want to contribute look at CONTRIBUTING.md.
Core bundle released under MIT license. This license permits a wide range of use, including free use in commercial projects, assuming all copyright headers are preserved. Read the license terms