git clone git@github.com:nxtedition/nxt-graphics
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
- modify
package.json
npm i
npm run dev
open http://localhost:8080
orCG 1 ADD http://localhost:8080/index.html
npm run build
- Files are written to
dist
Templates in Caspar will ignore web security features, such as 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
.