Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 674 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 674 Bytes

nxt-graphics

Setup new project

  • git clone [email protected]:nxtedition/nxt-graphics
  • git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
  • modify package.json
  • npm i

Development

  • npm run dev
  • open http://localhost:8080 or CG 1 ADD http://localhost:8080/index.html

Building

  • npm run build
  • Files are written to dist

Emulating Caspar

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.