node-red-contrib-uibuilder
Version:
Easily create data-driven web UI's for Node-RED. Single- & Multi-page. Multiple UI's. Work with existing web development workflows or mix and match with no-code/low-code features.
25 lines (21 loc) • 450 B
JavaScript
import "../resources/utils/uibrouter.esm.min.js"
const routerConfig = {
hide: true,
routes: [
{
id: 'home',
src: './readme.md',
type: 'url',
format: 'markdown'
}
],
otherLoad: [
{
id: 'menu-content',
src: './.config/sidebar.md',
format: 'markdown'
}
],
}
const router = new UibRouter(routerConfig)