0.1.1 • Published 1 year ago
rbird v0.1.1
releasebird-embedded-widget
use npm
Test locally
Start widget
start the embedded widget dev server npm run dev
install caddy
brew install caddy call caddy file-server in a directory with the following html file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Releasebird test</title>
</head>
<body>
<div>
<div id="test">
Whats new <-- click me
</div>
<script
async
data-mount-in='[id="test"]'
data-apiKey='12345'
data-selectorId='test'
src="http://localhost:6464/widget.releasebird.umd.js"
>
ODER
</script>
</body>
</html>