formio / vue

Javascript Powered forms and JSON form builder for Vue.js
MIT License
119 stars 65 forks source link

Add 'Basic Usage' part to README #3

Closed QuadDamn closed 6 years ago

QuadDamn commented 6 years ago

I'd like to recommend that you guys add a Basic Usage section to the README to help folks.

This is my recommendation:


Basic Usage

HTML inside of Vue template file:

<template>
  <div id="app">
    <formio src="" url="" form="" submission="" options="" v-on:submit=""></formio>
  </div>
</template>

Javascript inside of Vue template file.

<script>

  import FormIo from 'vue-formio';

  export default {

      name: 'app',
      components: { FormIo },
  }
</script>
randallknutson commented 6 years ago

Done a while ago.