lombardo-chess-demo
v0.0.4
Published
A (far from complete) chess module in React
Downloads
1
Readme
Chess Demo by Robert Lombardo
Make sure you have the following installed:
Run:
npm install npm start
Then open your http://localhost:8080/ to see the included demo page.
If you don't want to use localhost on port 8080, you can change it in
package.json
andwebpack.config.js
.
Embed in a Web Page:
Run
npm run build-dev
ornpm run build-prod
.<!DOCTYPE html> <head> <link rel="stylesheet" href="path/to/main.css"> </head> <body> <div id="chessModuleParent"></div> <script src="path/to/chess_bundle.js"></script> </body> </html>
Embed in Another React App:
- Run
npm run build-dev
ornpm run build-prod
.