Skip to content

iml885203/vue1-vee-validate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue1-vee-validate

vee-validate v2 for Vue.js 1.x

Demo

Demo page

Installation

npm

npm i vue1-vee-validate --save

yarn

yarn add vue1-vee-validate

Getting Started

import Vue from 'vue';
import VeeValidate from 'vee-validate';
import Vue1VeeValidate from 'vue1-vee-validate';

Vue.use(VeeValidate);

or include the script directly

<script src="path/to/vue.js"></script>
<script src="path/to/vee-validate.js"></script>
<script src="path/to/vue1-vee-validate.js"></script>
<script>
  Vue.use(VeeValidate); // good to go.
</script>

Basic Example

<input v-validate="'required|email'" name="email" type="text">
<span>{{ errors.first('email') }}</span>

Documentation

Read VeeValidate v2 documentation.

Releases

No releases published

Packages

No packages published