A Node-RED Dashboard 2.0 widget with a projector icon
npm install @andreydk1981/node-red-dashboard-2-ui-projectorbash
npm install
`
2. Build the widget:
`bash
npm run build
`
3. Link to your Node-RED installation (for development):
`bash
npm link
cd ~/.node-red
npm link @andreydk1981/node-red-dashboard-2-ui-projector
`
4. Restart Node-RED
Development
To develop the widget with hot-reload:
`bash
npm run dev
`
Then open http://localhost:5173 in your browser.
Usage
After installation, you'll find the "ui-projector" node in the Node-RED palette under the Dashboard category. Drag it onto your flow, configure it to be part of a Dashboard 2.0 group, and deploy.
The widget will display a projector icon on your dashboard.
Structure
- /nodes - Node-RED node definition files
- /ui - Vue.js component files
- /resources - Built widget files (generated)
- vite.config.mjs - Vite build configuration
- package.json` - Package definition