diff --git a/README.md b/README.md index 460f372..4f513fe 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ import type { BoardApi, BoardConfig } from 'vue3-chessboard'; let boardAPI: BoardApi; const boardConfig: BoardConfig = { - coordinates: false, + coordinates: true, }; function handleCheckmate(isMated: string) { @@ -117,7 +117,7 @@ import 'vue3-chessboard/style.css'; let boardAPI; const boardConfig = { - coordinates: false, + coordinates: true, }; function handleCheckmate(isMated) { diff --git a/src/App.vue b/src/App.vue index 0bbb6c1..5765ed7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,8 +5,8 @@ let boardAPI: BoardApi | undefined; const boardConfig: BoardConfig = { coordinates: true, - autoCastle: false, }; + const playerColor: 'white' | 'black' | 'both' | undefined = undefined;