3 ms·
Anyone else having trouble with that web vscode he's using?
by lbj 2y ago
Anyone else having trouble with that web vscode he's using?
- aap_ 2y agoYeah, no idea how to run the code. There are links to the final demo at the end, but everything else just links to this editor :/
- rustystump 2y agoThis was prototyped on codesandbox before they nuked their product. Each link goes to a specific version which you can test by running bun http.ts in the terminal which serves the content. I updated the article to include this info. In the future I will keep everything self hosted to avoid this issue. I appreciate the patience.
- nox101 2y agoif you want a self-hosted codepen there's this https://github.com/google/playground-elements https://github.com/google/playground-elements not sure if, based on the way it works, whether it supports SharedArrayBuffer
- pkilgore 2y agoFor security reasons you cannot use some of the features in this code without setting a specific header (the blog mentions this). The sandbox has a button that's basically "Open a preview in a separate tab". If you click that, the header will be sent, and the demo will work. If you only use the "in-editor" preview, the proper header will not be sent. Agree not intuitive. Hope it helps, it was a super cool demo.
- sosuperuseful 2y ago[dead]