diff --git a/README.md b/README.md index ae0ccd2..1499293 100644 --- a/README.md +++ b/README.md @@ -18,38 +18,29 @@ npm install --save vue-lineup@next **Minimal Usage Example** -`App.vue`: -```html - -``` ```ts - + +// enable plugin to register components +Vue.use(VueLineUp); + +const app = new Vue({ + el: '#app', + template: ``, + data: { + cats, + data + } +}); ``` [CodePen](https://codepen.io/sgratzl/pen/pKGmvK) @@ -60,10 +51,10 @@ export default class App extends Vue { **Advanced Usage Example** `App.vue`: -```html - + `, + data: { + cats, + data + } +}); ``` -[CodePen](https://codepen.io/sgratzl/pen/pKGmvK) +[CodePen](https://codepen.io/sgratzl/pen/vrboWB) ![Advanced Result](https://user-images.githubusercontent.com/4129778/34654174-3235f784-f3f8-11e7-9361-44f5fa068bb9.png)