@spicycoding/vue-form-parser

1.1.1 • Public • Published

Vue form parser (HTML)

I highly recommend to use this component in conjunction with @spicycoding/vue-form-builder

Quick install

NPM:

npm install @spicycoding/vue-form-parser

Yarn

yarn add @spicycoding/vue-form-parser

Documentation

Add this at the top of your javascript file

import FormParser from '@spicycoding/vue-form-parser';


Now add it to the components object of your Vue instance.

components: { 'form-parser': FormParser },


You can put the component in your HTML like this

<form-parser max-file-size="5" :json=""></form-parser>


Attribute: max-file-size

When a file field is available, how many megabytes are allowed to upload per file?


Attribute: json

If you used this package: @spicycoding/vue-form-builder, then you probably stored the form builder json output in your database. You can use this data in the json property.


Thank you for using this Form Parser!

Kind regards,
Pim vd Molen (Spicy Coding)

Package Sidebar

Install

npm i @spicycoding/vue-form-parser

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

8.82 kB

Total Files

3

Last publish

Collaborators

  • spicycoding