<!-- index.html -->
<script type="module">
import { registerControllers, Controller } from "https://cdn.jsdelivr.net/gh/teamwebhq/binder@v0.0.1-alpha/build/static/js/binder/binder.js";
class MyController extends Controller {
init() {
this.innerHTML = "<p>Hello, World!</p>";
}
}
registerControllers(MyController);
</script>
<my-controller></my-controller>
Check out the guide to learn how to use binder or the playground to see it in action.