0.0.1 • Published 3 years ago

astro-zdog v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Astro Zdog

npm.io

Astro component for static rendering of Zdog 3D scenes. The 3D scenes are rendered to svg which requires no JS.

Demo

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