README: In CDN links return html, not raw content
Closed this issue · 1 comments
jeau commented
In the chapter README usage, using the unpkg CDN.
The links to the javascript file and the css file return html and not the raw versions.
You should replace:
<link rel="stylesheet" href="https://unpkg.com/browse/@cogapp/storiiies-viewer@latest/dist/storiiies-viewer.css">
<script src="https://unpkg.com/browse/@cogapp/storiiies-viewer@latest/dist/umd/storiiies-viewer.js"></script>
with:
<link rel="stylesheet" href="https://unpkg.com/@cogapp/storiiies-viewer@latest/dist/storiiies-viewer.css">
<script src="https://unpkg.com/@cogapp/storiiies-viewer@latest/dist/umd/storiiies-viewer.js"></script>
as in the Codepen example.
jonw-cogapp commented
Thanks for spotting this! I can see @tristanr-cogapp has opened a PR that should address this which I'll merge in a minute