Source code of the @dgraph-io/community npm package
This package isn't designed to be used by other projects, but we've published the source code in the spirit of transparency; educational purposes; sharing our best practices.
- creates CTA button
- wraps mailchimp embeds in a more webapp-like API
- also has little hacks to improve user experience in case of multiple domains
- initializes analytics scripts
bestgood enough practices in code bundling and minification- published as a npm package to enable the power of unpkg.com
Add a script tag to your page somewhere after the </body>
tag:
<script src="//unpkg.com/@dgraph-io/community"></script>
WARNING: be careful: it won't work if placed inside or before <body> ! |
---|