JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q43007F
  • License ISC

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

Package Exports

  • chessboardjs-vue

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chessboardjs-vue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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