@weftly/runtime
v0.2.1
Published
Renderer + built-in component library + schema/registry for the Weftly website builder.
Downloads
634
Readme
@weftly/runtime
Renderer + built-in component library + schema/registry for the Weftly website builder.
Install
npm install @weftly/runtimePeer deps: next ^16.2.6, react/react-dom ^19.2.0.
Next.js setup
This package ships precompiled CSS Modules (*.module.css). Add it to
transpilePackages so Next applies CSS-Modules scoping:
// next.config.ts
export default { transpilePackages: ['@weftly/runtime'] }Exports
@weftly/runtime—PageTreeRenderer,WebsiteRenderSurface,componentMap,builtinRegistry, schema/registry helpers.- Deep subpaths, e.g.
@weftly/runtime/lib/component-schema,@weftly/runtime/components/PageTreeRenderer.
License
Weftly Community License — see LICENSE. Production use requires a valid Weftly license key.
