feat(html): configure deesWccTools with sections metadata for Elements and Pages
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user