Include Plotly to NodeRed when there is no internet access – Dashboard

Welcome to the forum.

If you look around, you will doubtless find the files you want online, so download them first.

To make them available to a Node-RED dashboard, you can configure a “static” folder in Node-RED’s settings.js file that you find in your settings folder (usually ~/.node-red). Create a folder, a lot of people use the name public inside that same folder and make the change to settings.js.

Put the downloaded file there.

To load it into the Dashboard, you will need to add a link reference to it in a ui_template node.

Instructions for using the static folder should be in the docs I think – there may be a summary in the settings.js file itself.

Read more here: Source link