@vuelidate/components
v1.2.6
Published
Components for Vuelidate
Downloads
34,912
Readme
Vuelidate Components
Visit Vuelidate Docs for detailed instructions.
Sponsors
Silver
Bronze
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