cal/packages/embeds/embed-snippet
DmytroHryshyn 28acbe549a
chore: [app dir bootstrapping 9]: replace useSearchParams with useCompatSearchParams hook (#12056)
Co-authored-by: zomars <zomars@me.com>
2023-11-16 13:38:27 -07:00
..
src chore: Update version in main for embeds that are already released. (#9822) 2023-07-21 16:46:18 +05:30
CHANGELOG.md chore: Update version in main for embeds that are already released. (#9822) 2023-07-21 16:46:18 +05:30
env.d.ts [Feature]Booking Embed (#2227) 2022-03-31 09:45:47 +01:00
LICENSE change /ee to /commercial (#8948) 2023-05-25 17:50:30 +00:00
package.json chore: Update version in main for embeds that are already released. (#9822) 2023-07-21 16:46:18 +05:30
README.md Runs format script 2022-06-24 07:37:56 -06:00
tsconfig.json chore: [app dir bootstrapping 9]: replace useSearchParams with useCompatSearchParams hook (#12056) 2023-11-16 13:38:27 -07:00
vite.config.js Hotfix/ Fix failing build due to terser missing (#7294) 2023-02-23 13:55:02 +01: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

  • 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>