nxt-graphics
Setup new project
git clone git@github.com:nxtedition/nxt-graphics
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
- modify
package.json
- run
yarn
ornpm i
Development
npm run dev
open http://localhost:8080
orCG 1 ADD http://localhost:8080/index.html
Building
npm run build
- Files are in
dist
Emulating Caspar
Templates in Caspar will ignore web security features, like blocking responses with empty Access-Control-Allow-Origin
headers from being handled in code. To emulate this, you can disable web security features in your local browser using e.g. --args --disable-web-security
.