title: Error in validation in vue js using vee-validate
body: <p>I'm new to vue.js.
  I'm trying to add validations for a form using vee-validate library, I get these errors:</p>
  <blockquote>
  <p>Property or method &quot;errors&quot; is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.</p>
  </blockquote>
  <blockquote>
  <p>Error in render function: &quot;TypeError: Cannot read property 'has' of undefined&quot;</p>
  </blockquote>
  <p>vue.version = ^2.3.3</p>
  <p>vee-validate.version = ^3.4.5
  the code is:</p>
  <pre><code>&lt;div class=&quot;tile is-parent&quot;&gt;
        &lt;article class=&quot;tile is-child box&quot;&gt;
        &lt;h1 class=&quot;title&quot;&gt;Add new AC Default&lt;/h1&gt;
            &lt;form&gt;
              &lt;div class=&quot;field&quot;&gt;
                &lt;label class=&quot;label&quot;&gt;Name&lt;/label&gt;
                &lt;div class=&quot;control&quot;&gt;
                  &lt;input name=&quot;name&quot;
                         v-model=&quot;form.name&quot;
                         v-validate=&quot;'required|min:3'&quot;
                         v-bind:class=&quot;{'is-danger': errors.has('name')}&quot;
                         class=&quot;input&quot; type=&quot;text&quot; placeholder=&quot;Full name&quot;&gt;
                &lt;/div&gt;
                &lt;p class=&quot;help is-danger&quot; v-show=&quot;errors.has('name')&quot;&gt;
                  {{ errors.first('name') }}
                &lt;/p&gt;
             &lt;/div&gt;
            &lt;/form&gt;
        &lt;/article&gt;
  &lt;/div&gt;
  </code></pre>
  <p>The script is:</p>
  <pre><code>import Vue from 'vue';
  ...
  
  export default {
      components: {
        ...
      },
      data() {
        return {
          form: {
            entityId: '',
            defaultValue: '',
            displayName: '',
            name: '',
          },
        };
      },
      created() {
        this.getInitialData();
      },
      computed: {
        ...
      },
      methods: {
       
        getInitialData() {
          ...
        },
      },
    };
  </code></pre>
  <p>What am I missing here?</p>