Socket
Socket
Sign inDemoInstall

so-form

Package Overview
Dependencies
16
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    so-form

generate form by json schema for vue.js


Version published
Maintainers
1
Created

Readme

Source

so-form, 渐进式通用vue表单

Introduction

  • so-form 是一个自动双向数据绑定,可拓展,提供 json-schema 自动渲染出对应表单组件vue插件
  • so-form 对第三方组件库无侵入,提供了高度抽象能力解决繁琐的表单配置插件

feature

  • json-schema 2 form
  • 自动双向数据绑定
  • 表单支持自定义 render(jsx 写法
  • 支持拓展 components
  • 各种方便插槽
  • 全局切换edit/preview状态
  • 目前支持element-uiiview ui框架

install

  npm i so-form --save

usage

example gif

例如下图,通过左边的简单配置,就可以生成右边表单。

example

组件

目前支持的组件

todo

  • babel插件,按需加载

Contribution

Please send pull requests improving the usage and fixing bugs, improving documentation and providing better examples, or providing some testing, because these things are important.

License

so-form is available under the MIT license.

Keywords

FAQs

Last updated on 14 Nov 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc