title: Vuejs2- Issue in vue-form-generator
body: <p>I am using "vue-form-generator" plugin for loading fields dynamically but I have encountered an error</p>
  
  <blockquote>
    <p>[Vue warn]: Failed to mount component: template or render function not defined. found in vue-form-generator</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/PazaN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PazaN.png" alt="enter image description here"></a></p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;template&gt;
      &lt;vue-form-generator :schema="schema" :model="model" :options="formOptions"&gt;&lt;/vue-form-generator&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
  import Vue from 'vue'
  import VueFormGenerator from "vue-form-generator";
  
  Vue.use(VueFormGenerator);
  
  export default {
    components: { VueFormGenerator },
    data: () =&gt; ({
  
      model: {             
        id: 1,
        name: "John Doe",
        password: "J0hnD03!x4",
        skills: ["Javascript", "VueJS"],
        email: "john.doe@gmail.com",
        status: true
      },
  
      schema: {
        fields: [{
          type: "input",
          inputType: "text",
          label: "ID (disabled text field)",
          model: "id",
          readonly: true,         
          disabled: true
        },{
          type: "input",
          inputType: "text",
          label: "Name",
          model: "name",
          placeholder: "Your name",
          featured: true,
          required: true
        },{
          type: "input",
          inputType: "password",
          label: "Password",
          model: "password",
          min: 6,
          required: true,
          hint: "Minimum 6 characters",
          validator: VueFormGenerator.validators.string
        },{
          type: "select",
          label: "Skills",
          model: "skills",      
          values: ["Javascript", "VueJS", "CSS3", "HTML5"]
        },{
          type: "input",
          inputType: "email",
          label: "E-mail",
          model: "email",
          placeholder: "User's e-mail address"
        },{
          type: "checkbox",
          label: "Status",
          model: "status",
          default: true
        }]
      },
  
      formOptions: {
        validateAfterLoad: true,
        validateAfterChanged: true
      }
    })
  }
  &lt;/script&gt;
  </code></pre>