From 12062da9d1724afebf5a21a4ded3acb760a82bd1 Mon Sep 17 00:00:00 2001 From: Adam Jahr Date: Wed, 24 Jun 2020 01:50:31 -0400 Subject: [PATCH] L6 starting code --- index.html | 2 +- main.js | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) 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 - } } })