GitHub - ChronicStone/vue-sweetforms: A Vue 3 package based on Naive UI that provides highly customizable promised-based popup forms, with features like form advanced validation, multiple-steps, cross-field dependency, nested object / arrays, and many more ! (original) (raw)

DEPRECATED PROJECT, NOW REFER TO https://github.com/ChronicStone/vue-sweettools/

Vue SweetForms

A Vue 3 package based on Naive UI that provides highly customizable promised-based popup forms, with features like form advanced validation, optional http request handling, multiple-steps, and many more !

npm version

Key Features โ€ขHow To Use โ€ขDocumentation & Live Examples โ€ขImprovements roadmap โ€ขCredits

Key Features

Documentation and live examples

How To Use

1. Install the package

npm i -s @chronicstone/vue-sweetforms

2. Import styles in main.js

import "vue-sweetforms/dist/style.css"

3. Wrap your app with the FormProvider component

// App.vue

4. Use the form API anywhere in your app :

OPEN FORM

Improvements roadmap

Any PR is gladly welcomed and will be greatly appreciated.

Credits

This packages uses Naive UI component library internally to render most field types. Particular thanks to @TuSimple who was of a big help in how to immplement the underlying concepts behin

MIT


GitHub @ChronicStone ยท