Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
WebKuliner2021
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiarro Elprida Tamba
WebKuliner2021
Commits
832d7b88
Commit
832d7b88
authored
4 years ago
by
Tiarro Elprida Tamba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
709d4fbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
CardProduct.vue
WebKuliner/src/components/CardProduct.vue
+23
-0
No files found.
WebKuliner/src/components/CardProduct.vue
0 → 100644
View file @
832d7b88
<
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
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment