Polyfill tags if you need them. This will include ShadowDOM and Custom Elements support.
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@latest/webcomponents-sd-ce.js"></script>
Loading this component. It would be a good idea to use a specific version instead of latest
.
<script src="https://unpkg.com/@nutmeg/hello-world@latest/dist/hello-world.min.js"></script>
<hello-world></hello-world>
<hello-world name="Pickle"></hello-world>
<hello-world>Slot content</hello-world>
HelloWorld is released under an MIT license.
Built, tested, and published with Nutmeg.