@ruiyun/react-schema-form-web
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

react-schema-form-web

ts build 有问题,主要是本地软链链接依赖的依赖时导致到打包报错。参见https://github.com/microsoft/TypeScript/issues/42873

目前解决办法如下

  • tsconfig增加
"baseUrl": ".",
"paths": {
      "@ruiyun/react-form": ["node_modules/@ruiyun/react-form"],
    }
  • 将@ruiyun/react-form添加为开发依赖

Usage

  1. 开始有布局,所以有了布局相关的参数配置。
  2. field上开始有label的配置(有了ui才会有展示label的需求)。
  3. 开始对表单组件分类,CustomComponent对应上一层的render
  4. 新增能从url加载远程组件的类型RemoteComponent。
  5. renderButtons也开始细分出renderSubmitButton和renderResetButton,并增加了showSubmit和showReset这种细粒度的控制。
  6. 按钮可以支持渲染到指定的容器下。
// TODO: DEMONSTRATE API

Readme

Keywords

Package Sidebar

Install

npm i @ruiyun/react-schema-form-web

Weekly Downloads

2

Version

2.0.1

License

ISC

Unpacked Size

29.8 kB

Total Files

7

Last publish

Collaborators

  • wen911119