1.0.9 • Published 3 years ago

chessboardjs-vue v1.0.9

Weekly downloads
14
License
ISC
Repository
github
Last release
3 years ago

Chessboardjs-Vue

Fork from chessboardjs that makes the module work with Vue and Webpack

Please see chessboardjs.com for documentation and examples.

Installation

    # NPM
    npm install chessboardjs-vue
    

Example Code

    <div id="board1" style="width: 400px"></div>
    //Vue
    import ChessBoard from "chessboardjs-vue";
    
    export default {
        mounted(){
            ChessBoard('board1',"start");
        }
  
}

Please see chessboardjs.com for documentation and examples.

What i did

  • first I exported the constructor function instead of using jquery
  • second I inked the board css
  • third I linked the Chess pisces images

Docs and Examples

License

MIT License

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago