diff --git a/index.html b/index.html index 318bb07..0b05007 100644 --- a/index.html +++ b/index.html @@ -27,7 +27,7 @@
  • {{ detail }}
  • {{ variant.color }}
    - + diff --git a/main.js b/main.js index fe5f42b..a274b91 100644 --- a/main.js +++ b/main.js @@ -11,13 +11,5 @@ const app = Vue.createApp({ { id: 2235, color: 'blue', image: './assets/images/socks_blue.jpg' }, ] } - }, - methods: { - addToCart() { - this.cart += 1 - }, - updateImage(variantImage) { - this.image = variantImage - } } })