Convert the Novu Echo Terminal into a reusable web component, using a single JS entry point
Why?
The Novu Echo Terminal should be portable, a web component makes it easy to use across multiple sites with both JS and HTML embed options available
TestingHTML Method
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<!-- NB: this is using `@echo-web-component` to target this branch. In prod, we omit this git-ref. -->
<script id="echo-terminal-loader" src="https://cdn.jsdelivr.net/gh/novuhq/docs@echo-web-component/echo-terminal.js" type="text/javascript" crossorigin="anonymous"></script>
</head>
<body>
<nv-echo-terminal></nv-echo-terminal>
</body>
</html>
What?
Why?
Testing HTML Method
JS Method
Demo: https://novu-preview-echo-web-component.mintlify.app/echo/quickstart
Screenshots The Usage Readme