@aruct/nodes
v0.1.2
Published
Built-in node bundles for the Aruct 3D editor — one folder per kind, exported as `builtinPlugin`
Readme
@aruct/nodes
Built-in node definitions for the Aruct viewer and editor.
Installation
npm install @aruct/core @aruct/viewer @aruct/editor @aruct/nodesThe package declares the remaining React, Next.js, Three.js, and UI libraries it needs as peer dependencies. Install any peers reported by your package manager.
Usage
Load builtinPlugin once before mounting a Aruct viewer or editor:
import { loadPlugin } from '@aruct/core'
import { builtinPlugin } from '@aruct/nodes'
await loadPlugin(builtinPlugin)The plugin registers the built-in schemas, renderers, geometry builders, tools, and systems. Hosts
can load additional plugins through the same loadPlugin API.
See the
@aruct/viewer quick start
for bootstrap ordering in a React application.
License
MIT
