You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a documented/supported way already for using JavaScript with widgets? I noticed that one of the native widgets adds some javascript in the template that loads an external file, stored on microapps.bigcommerce.com. My thinking is that one could simply have a file created and stored on the site's CDN, but then I wonder about dependencies. What if multiple widgets share the same dependencies, especially ones shared with the theme (lodash is the first thing that comes to mind).
The text was updated successfully, but these errors were encountered:
Is there a documented/supported way already for using JavaScript with widgets? I noticed that one of the native widgets adds some javascript in the template that loads an external file, stored on
microapps.bigcommerce.com
. My thinking is that one could simply have a file created and stored on the site's CDN, but then I wonder about dependencies. What if multiple widgets share the same dependencies, especially ones shared with the theme (lodash is the first thing that comes to mind).The text was updated successfully, but these errors were encountered: