Beacon-sdk won't work

Hey - have you read the section of the docs on working with external Js libraries.
(They were very recently updated with anvil’s new feature anvil.js.import_from)

Anvil Docs | Accessing JavaScript


A couple of relevant sentences:

Not all Javascript runs in the browser, and often library authors will provide a Javascript option specifically for the browser

Be aware that finding a Javascript library on jsdelivr, unpkg or cdnjs does not guarantee its suitability for the browser

The library docs do seem to have a browser version - see this section Standalone Delegation | Beacon Docs - which might work for you.

4 Likes