Dicken Dock v1.0.0
This commit is contained in:
26
frontend/src/toolRegistry.js
Normal file
26
frontend/src/toolRegistry.js
Normal file
@@ -0,0 +1,26 @@
|
||||
import Kalkulator3D, { SavedList } from './tools/Kalkulator3D.jsx';
|
||||
|
||||
// ══════════════════════════════════════════════════════════════════════════════
|
||||
// Tool-Registry – hier neue Tools eintragen
|
||||
//
|
||||
// Neues Tool hinzufügen:
|
||||
// 1. Backend: src/tools/<name>/routes.js anlegen → wird automatisch geladen
|
||||
// 2. Frontend: src/tools/<Name>.jsx anlegen
|
||||
// 3. Hier einen Eintrag ergänzen
|
||||
// ══════════════════════════════════════════════════════════════════════════════
|
||||
export const TOOLS = [
|
||||
{
|
||||
id: 'kalkulator3d',
|
||||
icon: '◈',
|
||||
label: '3D-Kalkulator',
|
||||
component: Kalkulator3D,
|
||||
},
|
||||
{
|
||||
id: 'kalkulator3d-saved',
|
||||
icon: '◉',
|
||||
label: 'Gespeichert',
|
||||
component: SavedList,
|
||||
},
|
||||
// Nächstes Tool:
|
||||
// { id: 'newtool', icon: '◇', label: 'Mein Tool', component: MeinTool },
|
||||
];
|
||||
Reference in New Issue
Block a user