0.1.14 • Published 5 years ago

@vudel/core v0.1.14

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

@vudel/core

Vudel Core sets up a framework to define fields on a field set. Using @vudel/validations

Installation

NPM

  npm install --save @vudel/core

Yarn

  yarn add @vudel/core

Usage

The following is a simple usage of creating a field set and adding some fields

  import { useFieldSet } from '@vudel/core';

  // Create the field set
  const { fields, data } = useFieldSet({ foo: 'bar', bar: 'foo' });

  // Add some fields for this field set
  fields.push({ name: 'foo' });
  fields.push({ name: 'bar' });

  // The original data is stored in the data property 
  data.foo = 'foo-bar';

License

@vudel/core is licensed under the MIT license.

0.1.13

5 years ago

0.1.14

5 years ago

0.1.12

5 years ago

0.1.10

5 years ago

0.1.11

5 years ago

0.1.8

5 years ago

0.1.9

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago