mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
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 installto install dependencies - Edit
index.jsto change the configuration to use the template you want to preview. - Edit
initialData.jsonto contain the initial data that will be generated by your object'sui_interactproc. - Run
node index.jsand 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.