WIP, details TBD
Click here for live DEMO.
Based on: https://github.com/microsoft/power-fx-host-samples/tree/main/Samples/WebDemo
Blog post: https://hajekj.net/2022/10/17/power-fx-in-javascript/
- Build
PowerFxWasm
project - Navigate to outputs, for example ``
- Install
http-server
(via npm,npm -g i http-server
) - Run
http-server --port 7080 --cors
- Navigate to frontend
- Create file called
.env.local
- Put the local web server's URL as variable:
REACT_APP_PFX_WASM_HOST="http://localhost:7080"
- Navigate to frontend, run
npm run start
- Open app at http://localhost:3000