Closed birkskyum closed 3 months ago
I would not recommend using Twoslash on the client side; it's hard to configure as well as inefficient. If you absolutely need that, you can try to provide a custom twoslasher
function with https://twoslash.netlify.app/packages/cdn
Thanks!
How do I use this in NodeJS?
Here is a minimal Vue demo https://stackblitz.com/edit/vitejs-vite-4kcex9?file=src%2Fcomponents%2FCodeSnippet.vue
The error is printed in the browser console