Closed timothyallan closed 2 years ago
Ah, yeah - this is because we export the 'source' for use in other Solid project builds, but you won't necessarily have WindiCSS to generate the stylesheet.
I think I can handle this by just removing the offending line as part of the build process - I'll give that a go.
Longer term there is likely a better way to manage the styling in general (I currently provide optional default styles that can be imported easily, but can also be ignored entirely if desired).
Aha, it's not a bundled output, got it. Okay, will sort out how/if I can install WindiCSS with my current Tailwind setup. Thanks!
Just for clarity - there is a bundled output as well (dist/esm
), but because there is also the 'solid' export of the JSX source (as seems to be convention for Solid libraries) it defaults to that when used in another Solid project.
I've just released 0.7.1 which should fix the issue for you with no need to add WindiCSS to your setup. Please test and let me know!
0.7.1 seems to have fixed it up, nice one!
Heya, just did a fresh install, and simply doing
npm run dev
on my basic Tailwind Solid Template app with animport { Select } from '@thisbeyond/solid-select';
gets me:Possibly relevant deps are: