Skip to content

GenerateAntdForm

Ant Design style form Generator, how to use is same as GenerateForm.

Code Demonstration

It needs Ant Design Vue 3.x, How to install please refer to Ant Design Vue Document

js
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'

app.use(Antd)
vue
<template>
  <fm-generate-antd-form 
    :data="jsonData"
    ref="generateForm">
  </fm-generate-antd-form>
</template>

<script setup>
import { ref } from 'vue'

const generateForm = ref()

const jsonData = {} // Form JSON Schema
</script>

API

Same as GenerateForm API