This commit is contained in:
Adam Jahr 2020-05-26 23:45:05 -04:00
parent 39452ddc6c
commit 95bb5ecd55
2 changed files with 2 additions and 3 deletions

View File

@ -15,7 +15,7 @@
<div class="product-display">
<div class="product-container">
<div class="product-image">
<img v-bind:src="image">
<!-- image goes here -->
</div>
<div class="product-info">
<h1>{{ product }}</h1>

View File

@ -1,8 +1,7 @@
const app = Vue.createApp({
data() {
return {
product: 'Socks',
image: './assets/images/socks_green.jpg'
product: 'Socks'
}
}
})