Files
CHOMPStation2/tools/nano-tester

NanoUI Template Tester

A simple utility for previewing how NanoUI templates will look out of game, useful for rapid development cycles.

Setup

  • Make sure you have Node.js ( https://nodejs.org/ ) installed.
  • Run npm install to install dependencies
  • Edit index.js to change the configuration to use the template you want to preview.
  • Edit initialData.json to contain the initial data that will be generated by your object's ui_interact proc.
  • Run node index.js and then connect at http://localhost:8000/

While Running

  • You can update your template files, nano CSS or initialData.json at any time while the server is running.