Open coatless opened 2 weeks ago
Thanks @coatless, we're tracking in posit-dev/shinylive#160. The following workaround still works but as you noted we need to bring the wheel into the shinylive Python bundle.
# requirements.txt
https://pkg.garrickadenbuie.com/libsass-python/libsass-0.23.0-cp312-abi3-pyodide_2024_0_wasm32.whl
shiny[theme]
Ugh, sorry for the duplicate ticket. In the future, just put anything wasm related under shinylive?
No worries! shinylive issues are very hard to place, I don't mind moving them or having duplicates that might provide links that help other find their way to the right place. But you're probably right, posit-dev/shinylive is a good starting place for anything WASM-related.
ui.Theme's dependency on
libsass
is problematic for the Shiny for Python environment, c.f.Adding a
requirements.txt
file with:Yields:
Shiny app demo: Playground