SkillAgentSearch skills...

Native

Generate a form using JSON Schema and Vue.js

Install / Use

/learn @formschema/Native
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

FormSchema Native

Vue component form based on JSON Schema and Native HTML

npm Build status Test coverage

Table of Contents

Install

npm install --save @formschema/native

Demo

formschema-demo-elementui

Usage

<template>
  <FormSchema :schema="schema" v-model="model" @submit.prevent="submit">
    <button type="submit">Subscribe</button>
  </FormSchema>
</template>

<script>
  import FormSchema from '@formschema/native'
  import schema from './schema/newsletter-subscription.json'

  export default {
    data: () => ({
      schema: schema,
      model: {}
    }),
    methods: {
      submit (e) {
        // this.model contains the valid data according your JSON Schema.
        // You can submit your model to the server here
      }
    },
    components: { FormSchema }
  }
</script>

Features

Supported Keywords

Irrelevant (ignored) Keywords

Since FormSchema is just a form generator, some JSON Schema validation keywords are irrelevant:

FormSchema API

Props

| Name | Type | Description

View on GitHub
GitHub Stars485
CategoryDevelopment
Updated7mo ago
Forks64

Languages

TypeScript

Security Score

92/100

Audited on Aug 21, 2025

No findings