This repository contains a minimal set of code required to create your own web component. It does not depend on any frameworks. One example can be found in /ExampleComponent.ts.
npm install
This script will build the component:
npm run build
This script will build and run the server.
npm run start
<html>
<head>
<title></title>
</head>
<body>
<div id="ath-component"></div>
<script type="text/javascript" src="./ath-component.js">
window.athComponent.bootstrap({
domID: "ath-component",
apiUrl: "https://alphateamhackers.com"
})
</script>
</body>
</html>
MIT