A basic demo of using r2-navigator-web to build a web-based reader.
Demo: https://evidentpoint.github.io/r2-testapp-web/demo/
- Node.js 10+
- npm / yarn
- Clone repository
- Run
npm install
- Run
npm run build
to compile the TypeScript source files insrc
topublic/bundle.js
- Run
npm run serve
to serve the files inpublic
- Access in a browser at
http://localhost:8080
to see the test app
- Basic familiarity with TypeScript and React (and how they work together) are helpful here.
- Run
npm run watch
to watch and recompile files as they are changed.