Skip to content

feat: add no-plugin demo page and upgrade to v1.5.11 - #9

Merged
mlightcad merged 1 commit into
mainfrom
feat/multi-page-no-plugin-demo
Aug 11, 2026
Merged

mlightcad merged 1 commit into
mainfrom
feat/multi-page-no-plugin-demo

Conversation

@mlightcad

@mlightcad mlightcad commented Aug 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add a second demo page (no-plugin.html) that boots the bare viewer without UI/export plugins, with shared logic extracted into src/app.ts
  • Keep demo page nav visible after opening a drawing so users can switch between with/without plugins without a full reload
  • Upgrade @mlightcad/cad-* packages to v1.5.11 and refine Vite manualChunks (viewer / data-model / three-renderer / three) plus optional viewer-runtime.iife.js copy

Test plan

  • pnpm install && pnpm build succeeds
  • pnpm dev — open index.html, confirm toolbar/export plugins work and nav links to no-plugin page
  • Open /no-plugin.html — no toolbar/plugins; open DXF/DWG and New Drawing still work
  • After opening a drawing, demo nav remains clickable and switches pages
  • Confirm HTML/PDF/SVG export still works on the with-plugins page

Split the example into with/without plugins multi-page demos, extract shared app bootstrapping, and refine Vite chunking so hosts can compare bare viewer vs plugin setups.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mlightcad mlightcad self-assigned this Aug 11, 2026
@mlightcad mlightcad added the enhancement New feature or request label Aug 11, 2026
@mlightcad
mlightcad merged commit 500fd0b into main Aug 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant