Divyansh Singh
Divyansh Singh
As a workaround, you can use dynamic imports for ESM-only packages. Here is a demo: [brc-dd/vitepress-d3-demo](https://github.com/brc-dd/vitepress-d3-demo). `Arc.vue` in the demo is taken from [this article](https://alligator.io/vuejs/visualization-vue-d3/) (with modifications). PS: don't do...
@DerYeger yeah sorry, forgot to make it public. Check it now. > Do you know if this is an inherent issue of the technologies and not solvable in the future?...
> I should have worded it differently, as I meant modifying my own library to use the dynamic imports. > `d3` is imported in quite a few places there and...
@JobinJia Its happening because you're using some non SSR compatible library or code.
Most likely, this won't be fixed anytime soon. Similar issues are open in VuePress for over 2 years.
For now, please consider overriding that variable using custom CSS. We are using different colors for light and dark mode, but material palenight doesn't have different themes for light/dark mode....
Looks fine to me. But might wanna move those color definitions to `vars.css` so they can be customized (and possibly use existing colors). Also, probably register this globally, so users...
`layout: page` ?
> I dont want header too. `layout: page` brings header to top. Ah, okay! We should probably add some option to hide nav and footer as well (PRs are welcome)....
MPA's assets logic is broken. Will track it separately. It's unrelated to Vite and it has been broken from the beginning IG.