chore(docs): update custom node example

This commit is contained in:
braks
2024-02-05 07:51:12 +01:00
committed by Braks
parent c381e6c11d
commit fc2f36b419
7 changed files with 149 additions and 131 deletions
+3 -2
View File
@@ -1,5 +1,5 @@
import { BasicApp, BasicCSS, BasicElements, BasicIcon } from './basic'
import { ColorPresets, CustomNode, CustomNodeApp, CustomNodeCSS } from './custom-node'
import { ColorPresets, ColorSelectorNode, CustomNodeApp, CustomNodeCSS, OutputNode } from './custom-node'
import { CustomConnectionLine, CustomConnectionLineApp } from './connectionline'
import { CustomEdge, CustomEdge2, CustomEdgeLabel, EdgeCSS, EdgesApp } from './edges'
import { NestedApp } from './nested'
@@ -30,7 +30,8 @@ export const exampleImports = {
},
customNode: {
'App.vue': CustomNodeApp,
'CustomNode.vue': CustomNode,
'ColorSelectorNode.vue': ColorSelectorNode,
'OutputNode.vue': OutputNode,
'style.css': CustomNodeCSS,
'presets.js': ColorPresets,
},