@neanic/forms-vue
v9.0.1
Published
The Neanic Forms Vue library
Readme
Vue UI Toolkit for Neanic Forms
The Vue UI Toolkit for Neanic Forms provides Vue.js components for building forms using the Neanic Forms library. This TypeScript project is designed to work with Vue 3 and offers a range of components and utilities to simplify form creation and validation.
Features
- Vue components for form controls
- Integration with
@neanic/formsfor form logic and validation - Custom validators and components
- Paginator for multi-step forms
- Integration with FontAwesome for icons
- Tailwind CSS for styling
Installation
To install the package, run the following command:
npm install @neanic/forms-vueMake sure you have the peer dependencies @neanic/forms and vue installed.
Usage
To use the library, you can import the required components and utilities in your Vue components:
import { createVueForms, FormComponent } from '@neanic/forms-vue';
// Create a form instance with default settings
createVueForms({
formDefaultsType: FormDefaults,
overrideFormDefaults: (formDefaults) => {
// Customize the default form settings here
}
});
// Use the components in your Vue templates
export default {
components: {
'n-form': FormComponent
}
// ...
};Components
The library exports several Vue components and utilities such as FormComponent, customComponent, otpControl, etc.
License
This project is licensed under the ISC License – see the LICENSE file for details. Developed by Neanic.
