WASM
This guide will help you get started contributing to Panel in the browser including panel convert.
Build pyodide wheels
You can build the smaller wheels for Pyodide using
The wheels are saved to panel/dist/wheels You can confirm they have been build using ls.
You can add an output path like . and the flag --no-deps after the first build to speed up the process when iterating.
Manual Testing
You can convert and test Panel apps manually using the convert_apps function. You will have to use the arguments panel_version='local' and inline=True.
Create the files app.py and convert.py in the root of the project.
app.py
convert.py
To convert the app.py to app.html run
To test in the browser you will have to copy (or build) the .whl files to .
Now you can run the http.server
Finally you can open http://localhost:8000/app.html.

When you are done testing remember to delete your temporary files.
Automated tests
You can add or update the pytests for panel convert in the panel/tests/ui/io/test_convert.py file.