Use CardImage for cards
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Hamcha 2019-09-21 16:46:48 +02:00
parent 214290439f
commit d2b4774ba9
Signed by: hamcha
GPG Key ID: 41467804B19A3315
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,7 @@
:key="i + card.ID"
@dragstart="dragStartCard.bind(this, card)"
>
<img :src="imageURL(card.ID)" />
<CardImage :id="card.ID" />
</article>
</section>
</section>
@ -137,9 +137,11 @@ $hand-max-height: 150px;
import { Component, Vue } from "vue-property-decorator";
import { Card, cardImageURL, getCards } from "@/mlpccg";
import Zone from "@/components/GameBoard/Zone.vue";
import CardImage from "@/components/Cards/CardImage.vue";
@Component({
components: {
CardImage,
Zone
}
})