0.6.14 • Published 1 month ago

@qnx/vuetify v0.6.14

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@qnx/vuetify

@qnx/vuetify is a Vue.js library designed to simplify Vuetify form, streamlining code and handling various processes internally, including validation, data set management, and server data submission. This approach aims to reduce code complexity and promote clean and manageable code.

Example

To see examples of components provided by @qnx/vuetify, please visit here.

Installation

Use the package manager npm to install @qnx/vuetify.

npm install @qnx/vuetify

You can also use yarn, pnpm, or bun

yarn add @qnx/vuetify
pnpm install @qnx/vuetify
bun install @qnx/vuetify

Peer-Dependencies

@qnx/vuetify resolves problems internally and depends on some other libraries.

npm install vuetify@latest @qnx/composables @vee-validate yup axios

Usage

<script setup>
import { VqForm, VqTextField } from '@qnx/vuetify'
import { object, string } from 'yup';

let validationSchema= object({
  name: string().required(),
  email: string().required().email(),
});

const initialValues = { name:'Test User', email:'test@gmail.com' }

const onSuccess = (res) => { console.log(res) }

</script>
<template>
 <VqForm
    action="user/create"
    method="POST"
    :validation-schema="validationSchema"
    :initial-values="initialValues"
    @submited-success="onSuccess"
  >
    <vq-text-field
      name="name"
      label="Name"
      placeholder="Name"
    />
    <vq-text-field
      name="email"
      label="Email"
      placeholder="Email"
    />
    <button type="submit">Submit</button>
 <VqForm />
</template>

Components

Here's a list of components provided by @qnx/vuetify:

Vuetify Form Components:

  • VqTextField
  • VqTextarea
  • VqAutocomplete
  • VqFileInput
  • VqForm
  • VqCheckbox
  • VqDatePicker
  • VqTimePicker
  • VqColorPicker
  • VqOtpInput
  • VqSubmitBtn

Other Components:

  • VqDataTable
  • VqSerialNo
  • VqList
  • VqTableFilter
  • VqListLoadMoreBtn

Integration Components:

  • VqTextEditor

Composables

  • useVqForm
  • collectVqHeaders
  • useVqList

Additionally, @qnx/vuetify extends existing components that are specifically useful in the context of forms. The library also includes additional components designed for displaying data. Overall, it appears to be a comprehensive solution for simplifying the implementation of forms and managing data presentation within Vuetify-based applications.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT License © 2023-PRESENT Yatendra Kushwaha

0.6.14

1 month ago

0.6.12

1 month ago

0.6.10

1 month ago

0.6.6

2 months ago

0.6.5

3 months ago

0.6.3

3 months ago

0.6.2

5 months ago

0.5.97

6 months ago

0.5.95

6 months ago

0.5.92

6 months ago

0.5.87

8 months ago

0.5.85

10 months ago

0.5.89

7 months ago

0.6.0

6 months ago

0.5.82

1 year ago

0.5.80

1 year ago

0.5.76

1 year ago

0.5.77

1 year ago

0.5.74

1 year ago

0.5.75

1 year ago

0.5.72

1 year ago

0.5.73

1 year ago

0.5.70

1 year ago

0.5.71

1 year ago

0.5.78

1 year ago

0.5.79

1 year ago

0.5.66

1 year ago

0.5.65

1 year ago

0.5.64

1 year ago

0.5.63

1 year ago

0.5.62

1 year ago

0.5.61

1 year ago

0.5.60

1 year ago

0.5.56

1 year ago

0.5.55

1 year ago

0.5.54

1 year ago

0.5.53

1 year ago

0.5.52

1 year ago

0.5.51

1 year ago