diff --git a/index.html b/index.html index 56c112638..ad51beadc 100644 --- a/index.html +++ b/index.html @@ -6,14 +6,44 @@ - +
-

Product goes here

+ + +
+
+
+ +
+
+

{{ product }}

+

In Stock

+

Out of Stock

+
    +
  • {{ detail }}
  • +
+
{{ variant.color }}
+

Sizes

+
    +
  • {{ size }}
  • +
+

Gender

+
    +
  • {{ gender.value }}
  • +
+
+
+
- + + + + diff --git a/main.js b/main.js index aedc73d86..881dc7e62 100644 --- a/main.js +++ b/main.js @@ -1 +1,20 @@ -const product = 'Socks' +const app = Vue.createApp({ + data() { + return { + product: 'Socks', + image: './assets/images/socks_blue.jpg', + inStock: true, + details: ['50% cotton', '30% wool', '20% polyester'], + variants: [ + { id: 2234, color: 'bloo' }, + { id: 2235, color: 'fenk' } + ], + sizes: ['Small', 'Medium', 'Large'], + genders: [ + { id: 5246, value: 'Male' }, + { id: 5247, value: 'Female' }, + { id: 5248, value: 'Non-Binary' } + ] + } + } +})