Developing front end code - TotallyInformation/node-red-contrib-uibuilder GitHub Wiki
To develop your app, you will need to know how to edit and manage your front-end code.
You can find the files in ~/.node-red/uibuilder/<url>/src by default. The minimum files you are likely to want are:
- manifest.json - for mobile use
- index.html - the default page
- index.js - the default scripts
- index.css - the default CSS
-
Editor - this is the absolute minimum tool you need. I recommend using a decent code editor. I use Microsoft Visual Studio Code (vscode), ATOM is also good. It is sensible to use some addins to help,
eslintis recommended and you will likely find a configuration for that already set up in my repo's. -
Browser-Sync - This saves you the effort of having to reload your browser every time you make a change to your code. Here is a typical command line for it when working with Node-RED and uibuilder:
browsersync start --proxy 'http://localhost:1880/uibuilder/' --ws --files \"uibuilder/**/*.*\"