@forms.js/vue
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

Forms.js

WebsiteDocumentation

Forms.js Vue Component

The official Vue component for Forms.js

Get Started with Forms.js ⚡️

Instalation

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:

Support on Ko-fi

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

Package Sidebar

Install

npm i @forms.js/vue

Homepage

formsjs.io/

Weekly Downloads

5

Version

1.0.8

License

MIT

Unpacked Size

7.69 kB

Total Files

11

Last publish

Collaborators

  • trilmatic