1.0.0 • Published 7 years ago

nxt-graphics v1.0.0

Weekly downloads
1
License
GPLv3
Repository
-
Last release
7 years ago

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 or 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 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.