feat(html): configure deesWccTools with sections metadata for Elements and Pages

This commit is contained in:
2025-12-28 18:20:32 +00:00
parent 1e7679ffff
commit 530047fc40
3 changed files with 24 additions and 2 deletions

View File

@@ -8,5 +8,20 @@ import '@design.estate/dees-wcctools/demotools';
import * as elements from '../ts_web/elements/index.js';
import * as pages from '../ts_web/pages/index.js';
deesWccTools.setupWccTools(elements as any, pages);
deesWccTools.setupWccTools({
sections: [
{
name: 'Elements',
type: 'elements',
items: elements,
icon: 'widgets',
},
{
name: 'Pages',
type: 'pages',
items: pages,
icon: 'web',
},
],
});
deesDomTools.elementBasic.setup();