In https://github.com/widgetti/solara/blob/master/solara/widgets/vue/vegalite.vue
we assume the /_solara/_cdn/ endpoint can be reached. This endpoint exists in notebook, lab and solara server, but not in Voila (except when running as a voila extension in jupyter server) or colab.
A workaround for now is to manually set the solara_cdn javascript variable.
import IPython.display
# make solara use a real cdn, since the solara cdn proxy is not available
display(IPython.display.Javascript("solara_cdn = 'https://cdn.jsdelivr.net/npm/'"))