cal.pub0.org/packages/embeds/embed-snippet
Hariom Balhara 87dbfba5df
Hotfix/ Fix failing build due to terser missing (#7294)
* No need to use terser

* v1.1.3

* v1.0.5

* v1.0.10
2023-02-23 13:55:02 +01:00
..
src Improved typings of window.Cal (#7178) 2023-02-17 13:23:30 +00:00
LICENSE Add licenses to embeds (#2984) 2022-06-07 08:25:55 +00:00
README.md Runs format script 2022-06-24 07:37:56 -06:00
env.d.ts
package.json Hotfix/ Fix failing build due to terser missing (#7294) 2023-02-23 13:55:02 +01:00
tsconfig.json Fix @calcom/embed-react installation with TS project (#2870) 2022-05-27 09:37:02 -06:00
vite.config.js Hotfix/ Fix failing build due to terser missing (#7294) 2023-02-23 13:55:02 +01:00

README.md

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>