Eric Burel @ericburel.tech · Feb 16

This perfectly well named "getEditionSitemap" function lives in our shared package "@devographics/fetch". Loading a package from our PNPM workspace into an app is easy, we just add it to the package.json with the version "workspace@^1.0.0"

0 likes 1 replies

?

Replies

Eric Burel · Feb 16

I am trying to load the sitemap top-level, so I can use it in "getStaticPaths" and also render it to generate the nav bar, but it doesn't seem to work as expected I'll cut that in two steps, first generating the paths, then displaying the sitemap in the page