Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

2nthony/form-render

Repository files navigation

form-render

Yet another form render solution for vue

NPM version NPM download License $donate

Getting started

You might want to run the example to see what it can do

# We assume that you have already installed the required dependencies.

# Build library
yarn build

# Run example
yarn example

Config type check

FormRender expose the Config type you can use to type-check your form config:

// form-config.ts
import { Config } from 'form-render'

const config: Config = {
  props: {},
  items: [...]
}

export default config

It also works in .js file:

/** @type {import('form-render').Config} */
const config = {
  props: {},
  items: [...]
}

export default config

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

This repo(form-render) won't exist without the inspirations from following projects or articles:

Author

form-render © EVILLT, Released under the MIT License.

Authored and maintained by EVILLT with help from contributors (list).

evila.me · GitHub @evillt · Twitter @evillt