X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBoard.vue;h=c36ea8ae5894e6ffa8a086889d94326ddbfa4c45;hb=50aed5a15e214d31b63f6320209ac14fe5c052cb;hp=03a5b6e3a218ef1260f6d202a16b547d75273f2e;hpb=4473050c257453abb37cd53d8d1e6e941c49bf91;p=vchess.git diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index 03a5b6e3..c36ea8ae 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -111,8 +111,8 @@ export default { && this.selectedPiece.parentNode.id == "sq-"+ci+"-"+cj, }, attrs: { - src: require("@/assets/images/pieces/" + - V.getPpath(this.vr.board[ci][cj]) + ".svg"), + src: "/images/pieces/" + + V.getPpath(this.vr.board[ci][cj]) + ".svg", }, } ) @@ -364,5 +364,102 @@ export default {