Not only is it important that you write your component to be cross-platform, you must also test your component on all platforms.
If you are trying to test a library after you've published it, check out managing public libraries.
Once you've created an Adalo component with
npx create-adalo-component, you can immediately test your component on web.
To do so, run in your shell:
Now, when you add a component on Adalo, you will see a new tab called "development" with your component.
Changes to the code will hot reload the page besides changes to any
manifest.json. If you make any changes
manifest.json, you must restart your component.