astro-zdog
v0.0.1
Published
![](./Demo.png)
Downloads
4
Readme
Astro Zdog
Astro component for static rendering of Zdog 3D scenes. The 3D scenes are rendered to svg which requires no JS.
browser-env
zdog assumes its executing in a browser and calls into document. To make the astro static renderer happy with this you need to add browser-env to your index.astro page.
import browserEnv from "browser-env";
browserEnv();
And due to issues with snowpack you need to add browser-env to your external module list. See snowpack.config.js