var app = new Vue({ el: '#app', data: { name: 'jitendra', maximum: 99, products: null }, mounted: function() { fetch('https://hplussport.com/api/products/order/price') .then(response => response.json()) .then(data => { this.products = data; }) } });