Closed coatless closed 8 months ago
Thanks @coatless! It looks like shinyswatch is out of date in shinylive, the syntax in the README requires shinyswatch 0.5.0.
>>> shinyswatch.__version__
'0.4.1'
The example you provided runs correctly for me locally with Shiny Express and the latest shinyswatch.
I pushed a fix in https://github.com/posit-dev/shinylive/commit/93f4c1ac1ca2ba45df454a8df07371abd90a11da, which should be deployed shortly.
If we take the demo app listed in the README and place it into a py-shinylive app, then we get an error
TypeError: Invalid tag item type:. Consider calling str() on this value before treating it as a tag item
``` Traceback (most recent call last): File "If we change the theme line to use parentheses instead of being treated as an object, then the shinylive app works