@vuelidate/components

Components for Vuelidate

Usage no npm install needed!

<script type="module">
  import vuelidateComponents from 'https://cdn.skypack.dev/@vuelidate/components';
</script>

README

Vuelidate Components

Visit Vuelidate Docs for detailed instructions.

Sponsors

Silver

Storyblok

Bronze

Vue Mastery logo

Installation

Vuelidate Components are meant to be used alongside @vuelidate/core and @vuelidate/validators.

npm install @vuelidate/core @vuelidate/validators @vuelidate/components
# or
yarn add @vuelidate/core @vuelidate/validators @vuelidate/components

Usage

Import the component you need and use it in your forms.

import { ValidateEach } from '@vuelidate/components'

export default {
  components: { ValidateEach },
  // ... rest of your component setup
}

For more info, visit the Vuelidate Docs.

Development

To test the package run

# install dependencies
yarn install

# create bundles.
yarn build

# Create docs inside /docs package
yarn dev

# run unit tests for entire monorepo
yarn test:unit

# You can also run for same command per package