cal/packages/embeds/embed-snippet
depfu[bot] d75a8910f6
Update all Yarn dependencies (2022-08-17) (#3887)
* Update all Yarn dependencies (2022-08-17)

* Fix package mismatches

* Submodule sync

* Type fixes

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2022-08-29 17:55:27 -06:00
..
src Fix @calcom/embed-react installation with TS project (#2870) 2022-05-27 09:37:02 -06:00
env.d.ts [Feature]Booking Embed (#2227) 2022-03-31 09:45:47 +01:00
LICENSE Add licenses to embeds (#2984) 2022-06-07 08:25:55 +00:00
package.json Update all Yarn dependencies (2022-08-17) (#3887) 2022-08-29 17:55:27 -06:00
README.md Runs format script 2022-06-24 07:37:56 -06:00
tsconfig.json Fix @calcom/embed-react installation with TS project (#2870) 2022-05-27 09:37:02 -06:00
vite.config.js Fix @calcom/embed-react installation with TS project (#2870) 2022-05-27 09:37:02 -06: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>