Problem with fontawesome

any idea?
6 Replies
MaartenBreddels
Sorry, I don't fully understand the problem. Can you give me clear instructions so I can reproduce this? Like the full script, and what you run on the command line, and the ENV vars you set
dguerrero
dguerreroOP4w ago
this is the full script: import solara solara.server.settings.assets.fontawesome_path = "/font-awesome/6.7.2/css/all.min.css" solara.settings.assets.cdn = "https://cdnjs.cloudflare.com/ajax/libs/" @solara.component def Page(): solara.Markdown(f"Test")
dguerrero
dguerreroOP4w ago
these are the logs
No description
dguerrero
dguerreroOP4w ago
I need to use cdnjs.cloudflare, because font-awesome 6.7.2 is not available in cdn.jsdelvir
MaartenBreddels
this works for me Ah, because some files were in the CDN cache dir.. if I use SOLARA_ASSETS_PROXY=False I also have an issue What about using solara.server.settings.assets.fontawesome_path = "/@fortawesome/[email protected]/css/all.min.css" ? and not changing the cdn
dguerrero
dguerreroOP4w ago
that worked!! thank you @MaartenBreddels

Did you find this page helpful?