Widget tests

Static host pages embedding the widget the way a dealer site does:

<vc-widget widget="<Widget ID>" start="/it/living"></vc-widget>
<script src="https://www.venetacucine.com/vc-widget.js" async></script>

The pages use the local TEST widget (a2b067c4-d32f-4494-a44d-a417dd62d350). On another environment enter the Widget ID (shown on the Craft widgets entry) below: it is saved in this browser and used by every page. ?widget=… in a page URL overrides it. This host must be in the widget's allowed origins.

Requires the widget build in public/widget/: yarn build:widget (the deploy runs it).