mirror of
https://github.com/sschum/froscon-2023-demo.git
synced 2024-11-24 16:53:25 +01:00
update
This commit is contained in:
parent
ad97f8c66b
commit
03f43618ff
@ -26,7 +26,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6" v-for="(card, i) of cards" :key="card.id">
|
||||
<card></card>
|
||||
<card :css-class="i % 2 === 0 ? 'bg-primary' : 'bg-secondary'"></card>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,7 +1,8 @@
|
||||
MyVueApp.component('card', {
|
||||
props: ['cssClass'],
|
||||
template: `
|
||||
<div class="card">
|
||||
<div>
|
||||
<div :class="cssClass">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title"></h5>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user