UNPKG

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
import "../resources/utils/uibrouter.esm.min.js" 'use strict' 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)