Commit 832d7b88 by Tiarro Elprida Tamba

Upload New File

parent 709d4fbe
<template>
<div class="card shadow card-product">
<img :src=" 'assests/images/' + product.gambar " class="card-img-top" alt="..." />
<div class="card-body">
<h5 class="card-title"> {{ product.nama }} </h5>
<p class="card-text">
Harga : Rp. {{ product.harga }}
</p>
<router-link class="btn btn-success" :to="'/foods/'+product.id"><b-icon-cart></b-icon-cart> Pesan</router-link>
</div>
</div>
</template>
<script>
export default {
name: "CardProduct",
props: ["product"],
};
</script>
<style>
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment