A JavaScript 2D floor plan editor with JSON export/import and integrated 3D viewing mode.
pnpm install
pnpm devpnpm dev: rebuilds on changes and launcheslive-server.
pnpm build:pagesThis generates:
dist/app.js(app bundle)dist/index.html(static entrypoint with relative./app.jspath)dist/.nojekyll
You can preview locally:
pnpm serve:pagesWorkflow included in:
.github/workflows/gh-pages.yml
Flow:
- Triggered on push to
main(or manual run from Actions). - Installs dependencies with pnpm.
- Runs
pnpm build:pages. - Uploads the
distdirectory. - Publishes to GitHub Pages.
- In GitHub → Settings → Pages, set Source: GitHub Actions.