- in addition to capacitor dependencies, android ndk for stockfish compilation (to install with Android Studio).
Make sure you installed all deps:
$ npm install
Capacitor needs the web app before update, so build it:
$ npm run build
$ npx cap update
Run in a browser
$ npm run serve
Will serve assets at
Once the server is running, browse to http://localhost:8080/www.
Be sure to Toggle Device Mode in your browser, or else you won't be able to click on anything.
Run in a device/emulator
The easiest way to do it is to open the native IDE. Capacitor has a command for that:
$ npx cap open
See the wiki.