Files
calendar/packages/embeds/embed-snippet
Volnei MunhozGitHubDevin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
92d2b59946 fix: replace @ts-ignore with @ts-expect-error to fix biome lint errors (#26849)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-01-14 19:05:57 -03:00
..
2022-03-31 09:45:47 +01:00
2023-05-25 17:50:30 +00:00
2026-01-02 12:47:00 +00:00

embed-snippet

Vanilla JS embed snippet that is responsible to fetch @calcom/embed-core and thus show Cal Link as an embed on a page.

Development

yarn build will generate dist/snippet.es.js. If you are going to test react embeds, make sure that you have built it so that they get the upto-date snippet

  • which can be used as <script type="module" src=...
  • You can also copy the appropriate portion of the code and install it directly as <script>CODE_SUGGESTED_TO_BE_COPIED</script>