1.0.8 • Published 3 days ago
@forms.js/vue v1.0.8
Forms.js Vue Component
The official Vue component for Forms.js
NPM
npm i @forms.js/core @forms.js/vue
Usage
<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:
Contributing
If you want to contribute look at CONTRIBUTING.md.
License
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