Yet another form render solution for vue
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
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
This repo(form-render) won't exist without the inspirations from following projects or articles:
- Form-render itself
- @femessage/el-form-render
- elv-form
- NoForm and Article
- 再也不想写表单了
- Form 表单组件设计之路
- ncform
form-render © EVILLT, Released under the MIT License.
Authored and maintained by EVILLT with help from contributors (list).