The webapp is build with React and TypeScript. We use icons from Lucide
First thing build the wasm is the ../bindings/wasm folder.
If you have nodejs installed you just need to:
npm installnpm run devWe use biome:
npm run check
Will check for linter and formatting issues.
We use vitest. Simply:
npm run test
Warning: There is only the testing infrastructure in place.
Deploying is a bit of a manual hassle right now: To build a deployable frontend:
npm run buildPlease copy the inroncalc.svg icon and the models you want to have as 'examples' in the internal 'ic' format.
I normally compress the wasm and js files with brotli
brotli wasm_bg-*****.wasm
Copy to the final destination and you are good to go.