UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

23 lines 685 B
import { jsx as _jsx } from "preact/jsx-runtime"; import "./Editor"; import "./SceneGraph"; import "./Toolbar"; import "./Library"; import "./HUD"; import LingoEditor from "./LingoEditor"; import { Disposable } from "@lincode/promiselikes"; import { render } from "preact"; import { unmountComponentAtNode } from "preact/compat"; export default class extends Disposable { constructor() { super(); const el = document.createElement("div"); document.body.appendChild(el); render(_jsx(LingoEditor, {}), el); this.then(() => { el.remove(); unmountComponentAtNode(el); }); } } //# sourceMappingURL=index.js.map