[Vuejs]-Attribute binding using vue.js

0👍

var app = new Vue({
  el: '#app',
  data: {
    product: 'Socks',
    image : "./img/1.png"
  }
})

You are missing a comma after the product ppty — ‘Socks’

You can check the fiddle here.
https://jsfiddle.net/p0dynL8o/

Leave a comment