title: Limit to show Records with Vue.js
body: <p>I would like show view more link if the item count is more than 5.The page should only display 5 records and view more link.The link should call the viewMore function</p>
  
  <pre><code>   &lt;div&gt;
        &lt;span v-for="item in Items" v-bind:key="item.id"&gt;
              {{ item.label }}
        &lt;/span&gt;
      &lt;/div&gt;
  
  export default {
    data() {
     return {
      items: []
    };
   },
  
    methods: {
      viewMore(id) {
        this.$router.push({ name:'item', parameter: {id}});
     },
    }
  </code></pre>