Testing
Usually, when integrating a widget, you want to test things before you deploy to your staging or even production environment. To make your widget work on your site, you need to tell us the domains you want the widgets to work on, so we can whitelist them.
localhost
Because we need to whitelist your domain, it is not possible to test the widget out of the box on localhost. To do that, you need to modify your hosts
file to be able to make the widget work on your localhost.
text 127.0.0.1 widgets.test
Now, access your localhost via widgets.test
domain.