I can't see what file I should import, I only see typescripts files.
I tried to use the url but in that way I get an error.
Script tag
<script type="module" href="https://unpkg.com/hy-drawer/dist/webcomponent/module.js"></script>
JavaScript code
const Drawer = hyDrawer.Drawer;
window.drawer = new Drawer(fixedSidebar, {
mouseEvents: true
});
sidenavTrigger.addEventListener('click', function (e) {
e.preventDefault();
window.drawer.toggle();
});
JavaScript error
uncaught ReferenceError: hyDrawer is not defined
What should I do to make work the component?