Quick start
About
vue3-chessboard is a component library for vue 3 written in TypeScript, using the lichess chessground and chess.js for the board logic.
Installation
bash
npm install vue3-chessboardbash
yarn add vue3-chessboardbash
pnpm install vue3-chessboardBasic Example
vue
<script setup>
import { TheChessboard } from 'vue3-chessboard';
import 'vue3-chessboard/style.css';
</script>
<template>
<TheChessboard />
</template>vue
<script setup lang="ts">
import { TheChessboard } from 'vue3-chessboard';
import 'vue3-chessboard/style.css';
</script>
<template>
<TheChessboard />
</template>