Skip to content

Commit

Permalink
📝 Update readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed May 11, 2016
1 parent 5f70de9 commit 0b1c36f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,12 @@ https://github.com/icebob/vue-form-generator/archive/master.zip
</div>
</template>

```
```js
<script>
import VueFormGenerator from "vue-form-generator";
Vue.use(VueFormGenerator);
export default {
...
components: {
VueFormGenerator: VueFormGenerator.component
},

data: {
schema: { ... },
model:
Expand All @@ -76,7 +71,7 @@ export default {
validateAfterChanged: true
}
}
...
}
</script>
```

Expand Down

0 comments on commit 0b1c36f

Please sign in to comment.