Eom+ Form (eom-form)
A schema-based form generator component for Vue.js
It has been inspired by project like vue-form-generator, dynamic-schema-vuelidate or formvuelatte
Why a new lib?
This project is not a "proof of concept". It's a lib to solve real life problems into real life project.
Screenshots
Features
- reactive forms based on schemas
- group and repeat form elements
- over 20 built-in validators
- use bootstrap-vue components and styles
What we would like to implement
- Dependency model like in XForms
- Expressions into JSON
- Framework7 version
Documentation
Full updated documentation is available here
Dependencies
eom-form uses mainly
moreover it uses other components like
we also include open source icon fonts such font awesome 5, ionicons,open iconic, stroke icons 7, linearicons
Installation
NPM
You can install it via NPM or yarn.
Latest version for Vue 2.x
$ npm install eom-form
Usage
{{ status.message }} submit
Usage in local components
; components: "eom-form": EomForm ;
Development
This command will start a webpack-dev-server
with content of src
folder.
npm run serve
Build
This command will build a distributable version in the dist
directory.
npm run build
Build Bundle
This command will bundle package for production use
npm run build-bundle
Contribution
We need hands. Please send pull requests improving the usage and fixing bugs, improving documentation and providing better examples, or providing some testing.
License
eom-form is available under the GPL v3 license.
Contact
Copyright (C) 2020 Eom+