This is a simple web site built using the Monaco editor and the qsharp npm package.
- Build the entire repo by running
./build.py
in the root directory. If you only want to build the functionality necessary to run the playground, you can usepython ./build.py --wasm --npm --play
. - Then make
./playground
your current directory and runnpm start
to start the web server. - Copy the URL that will be printed to console and open it in a browser to use the playground.
- Build the entire repo by running
./build.py
in the root directory. If you only want to build the functionality necessary to run the playground, you can usepython ./build.py --wasm --npm --play
. - Run
node watch.mjs
at the root of the repo. - Copy the URL that will be printed to the console and open it in a browser to use the playground.
Any time you make changes to any of the source files, the changes will be automatically compiled. Refresh the page in the browser to reload the playground with your changes.