Skip to content

Running z3-solver npm package in browser #6551

Answered by profanat
profanat asked this question in Q&A
Discussion options

You must be logged in to vote

Added this code and it works now:
var tag = document.createElement("script"); tag.src = "/node_modules/z3-solver/build/z3-built.js"; document.getElementsByTagName("head")[0].appendChild(tag);

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by profanat
Comment options

You must be logged in to vote
1 reply
@MargeKh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants