Skip to content

Restaurant dashboard ​

The room table by table, sales, dishes, hours and stock. The figures are made up. Cards move with the mouse, or the arrow keys on their title.

Code ​

ts
import { createDashboard } from 'nervure/dashboard';
import { template } from 'nervure/templates';

const board = createDashboard(host, { items: template('restaurant'), link: true, editable: true });

// Then your own figures, card by card; order() gives their names
board.update(board.order()[0], { type: 'kpi', label: 'This year', value: 1284500 });

Other templates