SolidJS UI library + Astro
Hey, would anyone happen to have experience using a UI library together with Astro?
I can get it working if I just export some simple components, but if I then add an import to another SolidJS library (eg.
At first I was using
Are there any example projects with such a setup somewhere?
I can get it working if I just export some simple components, but if I then add an import to another SolidJS library (eg.
@kobalte/core or @ark-ui/solid to help build my primitives), then I run into:At first I was using
tsup with tsup-preset-solid, but at this point I’ve tried almost everything I can think of: rollup, vite, esbuild, or just plain tsc. On the other hand, tried a bunch of different Astro configs, but no matter what I do I can’t get past this error.Are there any example projects with such a setup somewhere?
