View chessgame.js
import ChessGame from './utils/chessgame' | |
/** | |
* Chessboard VueJS Component. | |
* Takes a PGN string and a side (w or b) as props | |
*/ | |
export default { | |
name: 'chessboard', | |
props: { | |
/** Pgn is a string encoded with the current game state */ |