We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7db8263 commit 0f08a0dCopy full SHA for 0f08a0d
index.html
@@ -15,7 +15,7 @@
15
<div class="product-display">
16
<div class="product-container">
17
<div class="product-image">
18
- <!-- image goes here -->
+ <img v-bind:src="image">
19
</div>
20
<div class="product-info">
21
<h1>{{ product }}</h1>
main.js
@@ -1,7 +1,8 @@
1
const app = Vue.createApp({
2
data() {
3
return {
4
- product: 'Socks'
+ product: 'Socks',
5
+ image: './assets/images/socks_green.jpg'
6
}
7
8
})
0 commit comments