Fix vue
This commit is contained in:
@@ -1,17 +1,19 @@
|
||||
export default {
|
||||
props: ['funko'],
|
||||
props: {
|
||||
funko: Object
|
||||
},
|
||||
template: `
|
||||
<div class="card text-center">
|
||||
<img class='card-img-top' :src="'https://laurenacton.github.io/img/' + funko.img + '.jpg'" :alt="funko.name" width="150" />
|
||||
<div class="card-header">
|
||||
<p>{{funko.name}}</p>
|
||||
<p v-html="funko.title"></p>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="card-text">
|
||||
<p>{{funko.desc}}</p>
|
||||
<p v-html="funko.description"></p>
|
||||
</div>
|
||||
<a :href="{{funko.href}}" class="btn btn-primary stretched-link">Read more</a>
|
||||
<a :href="funko.title" class="btn btn-primary stretched-link">Read more</a>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user