@kuestcom/embeds
v1.3.7
Published
Web Components for Kuest
Readme
Embeds
External package for Kuest Embeds.
Embeds
- Market
Runtime config
You can override branding and the site URL by setting globals before loading the bundle:
window.__KUEST_SITE_URL = "https://example.com";
window.__KUEST_SITE_NAME = "Example";
window.__KUEST_SITE_LOGO_URL = "https://example.com/logo.svg";Gamma and CLOB endpoints are fixed to kuest.com.
When window.__KUEST_SITE_NAME is set, the package also registers an alias
custom element named ${slug}-market-embed (slugified site name).
Developing
Running the Example
Navigate to this package directory
cd ./packages/embedsStart live server to access local files.
npx live-serverNavigate to the file.
http://127.0.0.1:8080/example.html
Hot Reload
Running in development mode will allow changes to refresh in real-time. Simply run yarn dev.
