giscus-component icon indicating copy to clipboard operation
giscus-component copied to clipboard

New `host` property is sometimes blank in Vue SPA

Open davidmyersdev opened this issue 3 years ago • 0 comments

I am using Giscus with Nuxt 3. After updating the @giscus/vue package, the host property (which I do not pass to the component) sometimes resolves to an empty string instead of https://giscus.app. From what I can tell, this only happens when jumping between pages using client-side navigation. When a page is loaded directly (reloading a page that has the Giscus component on it already), it loads fine. Manually specifying https://giscus.app as the host fixes the problem for now, but I think this is an unexpected regression.

davidmyersdev avatar Sep 11 '22 18:09 davidmyersdev