The start of this was from Z3 web demo to get Z3 running on the web
npm install # install dependencies
npm run build # build
Serve this directory somehow (e.g. npx http-server
), then navigate to index.html
. You should see something like
You can also use vscode's Live Server extension on the HTML file. Check the console to see some Z3 related stuff
Any changes done to index.ts requires re-running npm run build