Skip to content

trashhalo/astro-zdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Astro Zdog

Astro component for static rendering of Zdog 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

About

Zdog component for static sites

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published