diff --git a/index.html b/index.html
index ac95523..7918f28 100644
--- a/index.html
+++ b/index.html
@@ -21,6 +21,13 @@
{{ product }}
In Stock
Out of Stock
+
+
+ {{ variant.color }}
diff --git a/main.js b/main.js
index 1725ec2..f238d40 100644
--- a/main.js
+++ b/main.js
@@ -4,7 +4,12 @@ const app = Vue.createApp({
product: 'Socks',
image: './assets/images/socks_blue.jpg',
inStock: true,
- details: ['50% cotton', '30% wool', '20% polyester']
+ details: ['50% cotton', '30% wool', '20% polyester'],
+ sizes: ['S', 'M', 'L', 'XL'],
+ variants: [
+ { id: 2234, color: 'green' },
+ { id: 2235, color: 'blue' },
+ ]
}
}
})