git clone [email protected]:nxtedition/nxt-graphicsgit remote set-url origin https://github.com/USERNAME/REPOSITORY.git- modify
package.json npm i
npm run devopen http://localhost:8080orCG 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.