Divyansh Singh

Results 492 comments of Divyansh Singh
trafficstars

Hmm, yeah not sure what we can do here since it doesn't expose the mathjax instance. Maybe you can use some different plugin for now: In `.vitepress/config.ts` ```ts import {...

I don't think node supports that. You'll need to change it to `"#*": "./*.js"` and use js for it to work. esbuild doesn't transform that while importing. So, it's whatever...

I meant try this: ```ts import sharedData from '#sharedData' ``` ``` "#*": "./*.js" ``` ```ts // sharedData.js export stuff ... ``` It's not specific to vitepress. Create a normal `foo.js`...

> Do you have any suggestions on how to make this work with TypeScript as well? Ah, currently no. You'll need to use tsx, or switch completely to bun. Newer...

It currently supports singleton markdown renderer only. So only the options inferred from config are used.

Can you share a sample repo where this is happening? One possible reason might be you’ve clean urls enabled and in serve you need to pass some flag to make...

> I tracked the error down to the HomeContent. https://github.com/vuejs/vitepress/pull/4493 That doesn't cause actual hydration errors. attribute-only mismatches only show the warnings when that flag is set. 👀 Is there...

Very weird. It's not happening on mac. I'll check on Windows 👀

Ah yeah, got it. Overrode the locale from sensors tab. It shows the error now. It's the changelog stuff.

https://github.com/vueuse/vueuse/blob/72c9aea0ff33105354d000040ec63807420e9d26/packages/.vitepress/theme/components/Changelog.vue#L54 This can be different in client than in server. You should do that inside onMounted. https://github.com/vuejs/vitepress/blob/7d9448192079e59493aa5c1e86cdf6d6deae8e36/src/client/theme-default/components/VPDocFooterLastUpdated.vue#L13-L25 Date time formatting stuff is tricky, and since it's inside v-for in your...