0.0.5 • Published 4 months ago

kn-form v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

Kn Form

Vite

Kn Form is a Vue 3 and Quasar component library for building forms.

Peer dependencies:

  • Quasar v2.18.1
  • Vue 3.5.13

Installation

yarn install kn-form

Usage

Script (setup)

import { ref } from 'vue'
import { KnFormLayout, dh } from 'kn-form'

const form = dh.defineKnForm({
  groups: [
    {
      label: 'Person',
      iconProps: {
        name: 'person'
      },
      fields: [
        dh.defineKnFormStringField({
          dataKey: 'name'
        }),
        // ...
      ]
    }
  ]
})

const data = ref({})

Template

<template>
  <KnFormLayout v-bind="form" v-model="data" />
</template>
0.0.5

4 months ago

0.0.4

4 months ago

0.0.3

4 months ago

0.0.2

4 months ago

0.0.1

4 months ago