KnitStichGrid Web
Konva.js web conversion of the KnitStichGrid WPF desktop app.
Layout
src/main.jsboots the app, wires the sidebar, and attaches the shared storesrc/konva/contains the canvas layers and stage wrappersrc/services/holds the grid, sketch, size, and persistence logicsrc/models/contains the plain data objects used by the store and servicescss/app.cssis the app stylesheet imported bysrc/main.jstests/contains Vitest coverage for the app services and store
Setup
npm install
Development
npm run dev
Build
npm run build
Testing
npm test
Run the browser regression test with:
npm run test:e2e
Build
npm run build
Notes
web/dist/main.jsandweb/dist/main.cssare the built outputs consumed bytemplates/knitstitch.twigcoverage/and Vite timestamp files are generated locally and should stay untracked