WIP: Basic 2D game board #23

Draft
hamcha wants to merge 6 commits from feature/board into master
Showing only changes of commit d2b4774ba9 - Show all commits

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
}
})